From 478fc8d0605441a8329452af549b9205ea7fbcc5 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 16 Jun 2019 13:30:16 -0700 Subject: [PATCH] Tablerender: setContent('list') added to login menu and news menus. --- class2.php | 2 +- e107_handlers/news_class.php | 24 ++++++++++++++++++++-- e107_plugins/login_menu/login_menu.php | 6 ++++++ e107_plugins/news/news_archive_menu.php | 6 ++++++ e107_plugins/news/news_categories_menu.php | 1 + e107_plugins/news/news_months_menu.php | 8 ++++++++ 6 files changed, 44 insertions(+), 3 deletions(-) diff --git a/class2.php b/class2.php index 2c7c9d1e1..481f831a0 100755 --- a/class2.php +++ b/class2.php @@ -1026,7 +1026,7 @@ if (!class_exists('e107table', false)) */ public function setUniqueId($id) { - $this->uniqueId = !empty($id) ? $id : null; + $this->uniqueId = !empty($id) ? eHelper::dasherize($id) : null; return $this; } diff --git a/e107_handlers/news_class.php b/e107_handlers/news_class.php index 38c84960c..ce6f46df7 100644 --- a/e107_handlers/news_class.php +++ b/e107_handlers/news_class.php @@ -908,7 +908,17 @@ class e_news_tree extends e_front_tree_model } $mod = true === $tablerender ? 'news_latest_menu' : $tablerender; - return e107::getRender()->tablerender($caption, $ret, varset($parms['mode'], $mod), $return); + + if(strpos($ret,'