Removed obsolete code
authorMarcel Werk <burntime@woltlab.com>
Sun, 22 May 2016 20:15:03 +0000 (22:15 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 22 May 2016 20:15:03 +0000 (22:15 +0200)
com.woltlab.wcf/templates/footerMenu.tpl [deleted file]
com.woltlab.wcf/templates/mainMenuSubMenu.tpl [deleted file]
com.woltlab.wcf/templates/pageHeaderMenu.tpl
wcfsetup/install/lang/en.xml

diff --git a/com.woltlab.wcf/templates/footerMenu.tpl b/com.woltlab.wcf/templates/footerMenu.tpl
deleted file mode 100644 (file)
index e2d7858..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{if $__wcf->getPageMenu()->getMenuItems('footer')|count > 0}
-       <ul class="navigationMenuItems">
-               {foreach from=$__wcf->getPageMenu()->getMenuItems('footer') item=menuItem}
-                       <li data-menu-item="{$menuItem->menuItem}"><a href="{$menuItem->getProcessor()->getLink()}">{lang}{$menuItem->menuItem}{/lang}{if $menuItem->getProcessor()->getNotifications()} <span class="badge badgeUpdate">{#$menuItem->getProcessor()->getNotifications()}</span>{/if}</a></li>
-               {/foreach}
-       </ul>
-{/if}
diff --git a/com.woltlab.wcf/templates/mainMenuSubMenu.tpl b/com.woltlab.wcf/templates/mainMenuSubMenu.tpl
deleted file mode 100644 (file)
index e286578..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{foreach from=$__wcf->getPageMenu()->getMenuItems($menuItem->menuItem) item=subMenuItem}
-       <li{if $__wcf->getPageMenu()->getActiveMenuItem(1) == $subMenuItem->menuItem} class="active"{/if} data-menu-item="{$subMenuItem->menuItem}"><a href="{$subMenuItem->getProcessor()->getLink()}"><span>{lang}{$subMenuItem->menuItem}{/lang}</span></a>{if $subMenuItem->getProcessor()->getNotifications()} <span class="badge badgeUpdate">{#$subMenuItem->getProcessor()->getNotifications()}</span>{/if}</li>
-{/foreach}
-
-{event name='items'}
index b31bbf463fa5aa1b3b093ede432b9d759658f596..70d461e64a7dc1de059ac626d51fe6389a032754 100644 (file)
@@ -1,21 +1 @@
 {@$__wcf->getBoxHandler()->getBoxes('mainMenu')[0]->render()}
-{*if $__wcf->getPageMenu()->getMenuItems('header')|count > 0}
-       <nav id="mainMenu" class="mainMenu jsMobileNavigation" data-button-label="{lang}wcf.page.mainMenu{/lang}">
-               <ul>
-                       {foreach from=$__wcf->getBoxHandler()->getBoxes('mainMenu') item=box}
-                               {@$box}
-                       {/foreach}
-                       
-                       {foreach from=$__wcf->getPageMenu()->getMenuItems('header') item=menuItem}
-                               <li class="{if $__wcf->getPageMenu()->getActiveMenuItem() == $menuItem->menuItem}active {/if}{if $__wcf->getPageMenu()->getMenuItems($menuItem->menuItem)|count > 0}subMenuItems{/if}" data-menu-item="{$menuItem->menuItem}">
-                                       <a href="{$menuItem->getProcessor()->getLink()}">{lang}{$menuItem->menuItem}{/lang}{if $menuItem->getProcessor()->getNotifications()} <span class="badge badgeUpdate">{#$menuItem->getProcessor()->getNotifications()}</span>{/if}</a>
-                                       {if $__wcf->getPageMenu()->getMenuItems($menuItem->menuItem)|count > 0}
-                                               <ul class="subMenu">
-                                                       {include file='mainMenuSubMenu'}
-                                               </ul>
-                                       {/if}
-                               </li>
-                       {/foreach}
-               </ul>
-       </nav>
-{/if*}
index bd6a2e1bbdd1914a0dde1a2461fa8b7433bab50d..fb8c46236ead31ecd69e3318b3ecc85550c4bd11 100644 (file)
@@ -297,7 +297,6 @@ Examples for medium ID detection:
                <item name="wcf.acp.group.option.category.admin.configuration"><![CDATA[Configuration]]></item>
                <item name="wcf.acp.group.option.category.admin.customization"><![CDATA[Customization]]></item>
                <item name="wcf.acp.group.option.category.admin.management"><![CDATA[Management]]></item>
-               <item name="wcf.acp.group.option.category.admin.display.pageMenu"><![CDATA[Page Menu]]></item>
                <item name="wcf.acp.group.option.category.admin.general"><![CDATA[General Permissions]]></item>
                <item name="wcf.acp.group.option.category.admin.language"><![CDATA[Languages]]></item>
                <item name="wcf.acp.group.option.category.admin.style"><![CDATA[Styles]]></item>