Updated styles and templates
authorAlexander Ebert <ebert@woltlab.com>
Tue, 20 Oct 2015 08:40:49 +0000 (10:40 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 20 Oct 2015 08:40:49 +0000 (10:40 +0200)
com.woltlab.wcf/templates/mainMenu.tpl [deleted file]
com.woltlab.wcf/templates/pageLogo.tpl [deleted file]
com.woltlab.wcf/templates/searchArea.tpl [deleted file]

diff --git a/com.woltlab.wcf/templates/mainMenu.tpl b/com.woltlab.wcf/templates/mainMenu.tpl
deleted file mode 100644 (file)
index 15b97c0..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-{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->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}
diff --git a/com.woltlab.wcf/templates/pageLogo.tpl b/com.woltlab.wcf/templates/pageLogo.tpl
deleted file mode 100644 (file)
index da06290..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<div id="logo" class="logo">
-       {if MODULE_WCF_AD && $__disableAds|empty}{@$__wcf->getAdHandler()->getAds('com.woltlab.wcf.logo')}{/if}
-       
-       <a href="{link}{/link}">
-               {* @TODO *}
-               <img src="http://192.168.0.102/w/275/wcf/images/wbb.png" alt="" class="large">
-               <img src="http://192.168.0.102/w/275/wcf/images/wbb-small.png" alt="" class="small">
-               {if $__wcf->getStyleHandler()->getStyle()->getPageLogo()}
-                       <img src="{$__wcf->getStyleHandler()->getStyle()->getPageLogo()}" alt="">
-               {/if}
-               {event name='headerLogo'}
-       </a>
-</div>
\ No newline at end of file
diff --git a/com.woltlab.wcf/templates/searchArea.tpl b/com.woltlab.wcf/templates/searchArea.tpl
deleted file mode 100644 (file)
index 7a9e740..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{capture assign='__searchFormLink'}{link controller='Search'}{/link}{/capture}
-{capture assign='__searchInputPlaceholder'}{lang}wcf.global.search.enterSearchTerm{/lang}{/capture}
-{capture assign='__searchDropdownOptions'}<label><input type="checkbox" name="subjectOnly" value="1" /> {lang}wcf.search.subjectOnly{/lang}</label>{/capture}
-{assign var='__searchHiddenInputFields' value=''}
-
-{event name='settings'}
-
-<div id="search" class="searchBar" data-disable-auto-focus="true">
-       <form method="post" action="{@$__searchFormLink}" class="dropdown">
-               <input type="search" name="q" placeholder="{@$__searchInputPlaceholder}" autocomplete="off" required="required" value="{if $query|isset}{$query}{/if}" class="dropdownToggle" data-toggle="search" />
-               
-               <ul class="dropdownMenu">
-                       {hascontent}
-                               <li class="dropdownText">
-                                       {content}
-                                               {@$__searchDropdownOptions}
-                                       {/content}
-                               </li>
-                               <li class="dropdownDivider"></li>
-                       {/hascontent}
-                       <li><a href="{@$__searchFormLink}">{lang}wcf.search.extended{/lang}</a></li>
-               </ul>
-               
-               {@$__searchHiddenInputFields}
-               {@SECURITY_TOKEN_INPUT_TAG}
-       </form>
-</div>
-
-{if !OFFLINE || $__wcf->session->getPermission('admin.general.canViewPageDuringOfflineMode')}
-       <script data-relocate="true">
-               //<![CDATA[
-               $(function() {
-                       new WCF.Search.Message.SearchArea($('#search'));
-               });
-               //]]>
-       </script>
-{/if}
\ No newline at end of file