diff --git a/e107_plugins/blogcalendar_menu/blogcalendar_menu.php b/e107_plugins/blogcalendar_menu/blogcalendar_menu.php index 041f2ad3b..aef6239f3 100644 --- a/e107_plugins/blogcalendar_menu/blogcalendar_menu.php +++ b/e107_plugins/blogcalendar_menu/blogcalendar_menu.php @@ -91,8 +91,7 @@ if(false === $cached) // ------------------------------- // create the month selection item // ------------------------------- - $month_selector = "
"; - $month_selector .= "
"; + - if(deftrue('e_BOOTSTRAP')) - { - $month_selector = '
-
'; - $caption = "
".BLOGCAL_L1." ".$month_selector."
"; - } - else - { - $caption = "
".BLOGCAL_L1." ".$req_year."
"; - } - - // ------------------------ // create and show calendar @@ -178,28 +156,58 @@ if(false === $cached) $menu .= "
".BLOGCAL_L2."
"; $menu .= ""; */ - $menu = ""; - + else // BC + { + + $month_selector = "
"; + $month_selector .= "
"; + + + $menu = "
"; + $menu .= ""; + $menu .= "
".$month_selector; + $menu .= "
".calendar($req_day, $req_month, $req_year, $day_links, $pref['blogcal_ws'])."
"; + $menu .= "
"; + + $caption = "
".BLOGCAL_L1." ".$req_year."
"; + } + $cached = $ns->tablerender($caption, $menu, 'blog_calendar', true); // echo "day= ".$req_day. " month=".$req_month." year=".$req_year." links=".print_a($day_links)." ws=".$pref['blogcal_ws']; e107::getCache()->set($cString, $menu);