1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 03:54:09 +02:00

Renamed bootstrap flag e_BOOTSTRAP to BOOTSTRAP. Set e_BOOTSTRAP as path of bootstrap folder.

This commit is contained in:
Cameron
2013-06-17 16:03:33 -07:00
parent d10dbc443a
commit a0aec4b210
25 changed files with 51 additions and 44 deletions

View File

@@ -119,7 +119,7 @@ if(false === $cached)
{
$month_links[$xmonth] = e107::getUrl()->create('news/list/month', 'idv='.formatDate($req_year, $xmonth));//e_BASE."news.php?month.".formatDate($req_year, $xmonth);
}
// if(($news['news_datestamp'] >= $month_start && $news['news_datestamp'] <= $month_end) || (deftrue('e_BOOTSTRAP') && $news['news_datestamp'] >= $year_start && $news['news_datestamp'] <= $year_end))
// if(($news['news_datestamp'] >= $month_start && $news['news_datestamp'] <= $month_end) || (deftrue('BOOTSTRAP') && $news['news_datestamp'] >= $year_start && $news['news_datestamp'] <= $year_end))
{
$xday = date("j", $news['news_datestamp']);
if (!isset($day_links[$xday]) || !$day_links[$xday])
@@ -158,7 +158,7 @@ if(false === $cached)
*/
if(deftrue('e_BOOTSTRAP')) // v2.x
if(deftrue('BOOTSTRAP')) // v2.x
{
$month_selector = '<div class="btn-group pull-right"><a class="btn btn-mini " href="#blogCalendar" data-slide="prev"></a>
<a class="btn btn-mini" href="#blogCalendar" data-slide="next"></a></div>';

View File

@@ -138,7 +138,7 @@ function calendar($req_day, $req_month, $req_year, $links = NULL, $ws = "sunday"
// $calendar .= "tablerow = ".$tablerow;
if(deftrue('e_BOOTSTRAP'))
if(deftrue('BOOTSTRAP'))
{
$active = date("n") == $req_month ? 'active' : '';
$text = "<div class='item {$active}'>";