mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 01:30:32 +02:00
landingzero styling fixes.
This commit is contained in:
@@ -122,9 +122,18 @@ if(false === $cached)
|
||||
$menu_text[] = $tp->simpleParse($template['item'], $vars);
|
||||
}
|
||||
$cached = $template['start'].implode(varset($template['separator'],''), $menu_text).$template['end'];
|
||||
|
||||
$ns->setContent('text', $cached);
|
||||
|
||||
if($cached)
|
||||
{
|
||||
if(!$parms['showarchive']) $cached .= '<div class="e-menu-link news-menu-archive"><a class="btn btn-default btn-sm" href="'.e_PLUGIN_ABS.'blogcalendar_menu/archive.php">'.BLOGCAL_L2.'</a></div>';
|
||||
if(!$parms['showarchive'])
|
||||
{
|
||||
$footer = '<div class="e-menu-link news-menu-archive"><a class="btn btn-default btn-sm" href="'.e_PLUGIN_ABS.'blogcalendar_menu/archive.php">'.BLOGCAL_L2.'</a></div>';
|
||||
$ns->setContent('footer', $footer);
|
||||
$cached .= $footer;
|
||||
|
||||
}
|
||||
$cached = $ns->tablerender(BLOGCAL_L1." ".$req_year, $cached, 'news_months_menu', true);
|
||||
}
|
||||
e107::getCache()->set($cString, $cached);
|
||||
|
Reference in New Issue
Block a user