1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

Moved list detection to class2.

This commit is contained in:
Cameron
2019-06-16 13:45:05 -07:00
parent fa6852ea8e
commit a9292caef0
5 changed files with 6 additions and 38 deletions

View File

@@ -104,12 +104,6 @@ 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');