1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 02:00:14 +02:00

Tablerender: setContent('list') added to login menu and news menus.

This commit is contained in:
Cameron
2019-06-16 13:30:16 -07:00
parent 9e3a77fdf7
commit 478fc8d060
6 changed files with 44 additions and 3 deletions

View File

@@ -105,6 +105,12 @@ e107::plugLan('news');
$caption = !empty($parm['caption'][e_LANGUAGE]) ? $parm['caption'][e_LANGUAGE] : LAN_NEWSARCHIVE_MENU_TITLE;
if(strpos($start,'<ul ') !== false)
{
e107::getRender()->setUniqueId('news-archive-menu')->setContent('list', true);
}
e107::getRender()->tablerender($caption, $start.$text.$end, 'news-archive-menu');
//e107::getDebug()->log($arr);