From 0ba63443a8f016b124befe8f0522e279c5f8c38d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 21 Mar 2016 13:08:23 +0100 Subject: [PATCH] Added missing search link for mobile optimization --- com.woltlab.wcf/templates/pageHeaderUser.tpl | 14 +-- com.woltlab.wcf/templates/pageMenuMobile.tpl | 100 ++++++++++-------- .../js/WoltLab/WCF/Ui/Dropdown/Simple.js | 4 +- .../js/WoltLab/WCF/Ui/Page/Header/Fixed.js | 27 +++-- .../js/WoltLab/WCF/Ui/Page/Menu/Abstract.js | 21 +++- .../files/js/WoltLab/WCF/Ui/Page/Menu/User.js | 30 ------ .../files/style/layout/pageHeader.scss | 44 ++++++-- .../files/style/layout/pageHeaderSticky.scss | 67 +++++++----- 8 files changed, 180 insertions(+), 127 deletions(-) diff --git a/com.woltlab.wcf/templates/pageHeaderUser.tpl b/com.woltlab.wcf/templates/pageHeaderUser.tpl index e32bd7d242..57c3d80e89 100644 --- a/com.woltlab.wcf/templates/pageHeaderUser.tpl +++ b/com.woltlab.wcf/templates/pageHeaderUser.tpl @@ -162,13 +162,13 @@ {/capture}
-
+ <{if $__3rdPartyButtons|trim}section{else}div{/if} class="section"> {if $__3rdPartyButtons|trim}

{lang}wcf.user.login{/lang}

{/if}
- +
@@ -185,26 +185,26 @@
- +
{if $__wcf->getUserAuthenticationFactory()->getUserAuthentication()->supportsPersistentLogins()}
-
+
{/if} {event name='loginFields'}
- + {lang}wcf.user.lostPassword{/lang} - + {@SECURITY_TOKEN_INPUT_TAG}
-
+ {if $__3rdPartyButtons|trim}
diff --git a/com.woltlab.wcf/templates/pageMenuMobile.tpl b/com.woltlab.wcf/templates/pageMenuMobile.tpl index b247eedb8c..5da65b6a52 100644 --- a/com.woltlab.wcf/templates/pageMenuMobile.tpl +++ b/com.woltlab.wcf/templates/pageMenuMobile.tpl @@ -24,52 +24,58 @@ {@""|str_repeat:$menuItemNode->getOpenParentNodes()} {/if} {/foreach} - - - {hascontent} - - {/hascontent} - {hascontent} - - - {/hascontent} + {hascontent} + + {/hascontent} + {hascontent} + + + {/hascontent} + + + @@ -149,20 +155,20 @@ {event name='guestUserMenuItems'} - + {if $__wcf->getLanguage()->getLanguages()|count > 1}