From 12542fc42391f4fc40004b5a380655ce63192992 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 22 May 2016 22:15:03 +0200 Subject: [PATCH] Removed obsolete code --- com.woltlab.wcf/templates/footerMenu.tpl | 7 ------- com.woltlab.wcf/templates/mainMenuSubMenu.tpl | 5 ----- com.woltlab.wcf/templates/pageHeaderMenu.tpl | 20 ------------------- wcfsetup/install/lang/en.xml | 1 - 4 files changed, 33 deletions(-) delete mode 100644 com.woltlab.wcf/templates/footerMenu.tpl delete mode 100644 com.woltlab.wcf/templates/mainMenuSubMenu.tpl diff --git a/com.woltlab.wcf/templates/footerMenu.tpl b/com.woltlab.wcf/templates/footerMenu.tpl deleted file mode 100644 index e2d78586e2..0000000000 --- a/com.woltlab.wcf/templates/footerMenu.tpl +++ /dev/null @@ -1,7 +0,0 @@ -{if $__wcf->getPageMenu()->getMenuItems('footer')|count > 0} - -{/if} diff --git a/com.woltlab.wcf/templates/mainMenuSubMenu.tpl b/com.woltlab.wcf/templates/mainMenuSubMenu.tpl deleted file mode 100644 index e286578487..0000000000 --- a/com.woltlab.wcf/templates/mainMenuSubMenu.tpl +++ /dev/null @@ -1,5 +0,0 @@ -{foreach from=$__wcf->getPageMenu()->getMenuItems($menuItem->menuItem) item=subMenuItem} - getPageMenu()->getActiveMenuItem(1) == $subMenuItem->menuItem} class="active"{/if} data-menu-item="{$subMenuItem->menuItem}">{lang}{$subMenuItem->menuItem}{/lang}{if $subMenuItem->getProcessor()->getNotifications()} {#$subMenuItem->getProcessor()->getNotifications()}{/if} -{/foreach} - -{event name='items'} diff --git a/com.woltlab.wcf/templates/pageHeaderMenu.tpl b/com.woltlab.wcf/templates/pageHeaderMenu.tpl index b31bbf463f..70d461e64a 100644 --- a/com.woltlab.wcf/templates/pageHeaderMenu.tpl +++ b/com.woltlab.wcf/templates/pageHeaderMenu.tpl @@ -1,21 +1 @@ {@$__wcf->getBoxHandler()->getBoxes('mainMenu')[0]->render()} -{*if $__wcf->getPageMenu()->getMenuItems('header')|count > 0} - -{/if*} diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index bd6a2e1bbd..fb8c46236e 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -297,7 +297,6 @@ Examples for medium ID detection: - -- 2.20.1