From 2eb0ffdc237e72d9fb16324088a4583ec2e55fef Mon Sep 17 00:00:00 2001 From: DariusIII Date: Wed, 17 Feb 2016 22:32:17 +0100 Subject: [PATCH] Rename category for smarty to catCLass to prevent conflicts --- Changelog | 1 + www/pages/Page.php | 2 +- www/themes/Charisma/templates/headermenu.tpl | 36 ++++++------- www/themes/Charisma/templates/predb.tpl | 50 +++++++++---------- www/themes/Charisma/templates/rss.tpl | 2 +- www/themes/Charisma/templates/rssdesc.tpl | 2 +- .../Charisma/templates/search-filter.tpl | 16 +++--- www/themes/Gamma/templates/headermenu.tpl | 36 ++++++------- www/themes/Gamma/templates/predb.tpl | 50 +++++++++---------- www/themes/Gamma/templates/rss.tpl | 6 +-- www/themes/Gamma/templates/rssdesc.tpl | 2 +- www/themes/Gamma/templates/search-filter.tpl | 12 ++--- www/themes/Omicron/templates/headermenu.tpl | 36 ++++++------- www/themes/Omicron/templates/predb.tpl | 50 +++++++++---------- www/themes/Omicron/templates/rss.tpl | 6 +-- www/themes/Omicron/templates/rssdesc.tpl | 2 +- .../Omicron/templates/search-filter.tpl | 16 +++--- www/themes/shared/templates/apidesc.tpl | 6 +-- 18 files changed, 166 insertions(+), 165 deletions(-) diff --git a/Changelog b/Changelog index f350bb70f..37b2990ae 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2016-02-17 DariusIII + Chg: Rename category for smarty to catCLass to prevent conflicts Upd: Update getCategoryExclusion and getCategoryExclusionNames functions. Fix: Fix Gamma theme headermenu when coverview is disabled Chg: Change position of browse groups from headermenu to left side menu diff --git a/www/pages/Page.php b/www/pages/Page.php index f070aae1c..44f0b1aae 100644 --- a/www/pages/Page.php +++ b/www/pages/Page.php @@ -51,7 +51,7 @@ class Page extends BasePage $parentcatlist = $category->getForMenu(); $this->smarty->assign('parentcatlist',$parentcatlist); - $this->smarty->assign('category', $category); + $this->smarty->assign('catClass', $category); $searchStr = ''; if ($this->page == 'search' && isset($_REQUEST["id"])) $searchStr = (string) $_REQUEST["id"]; diff --git a/www/themes/Charisma/templates/headermenu.tpl b/www/themes/Charisma/templates/headermenu.tpl index 964f6f5ec..2356bb38e 100755 --- a/www/themes/Charisma/templates/headermenu.tpl +++ b/www/themes/Charisma/templates/headermenu.tpl @@ -2,7 +2,7 @@