1
0
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:
Cameron
2017-01-17 14:27:05 -08:00
parent 323bdcc8aa
commit 830814b5a1
5 changed files with 45 additions and 6 deletions

View File

@@ -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);