From 5bbcc30697abeeebda7fb49ec49f708fb4d541e7 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 30 Apr 2016 21:14:04 +0200 Subject: [PATCH] Moved the "No-JS"-Warning --- com.woltlab.wcf/templates/footer.tpl | 4 +++ com.woltlab.wcf/templates/userNotice.tpl | 36 ++++++++++++---------- wcfsetup/install/files/style/ui/alert.scss | 12 ++++++++ 3 files changed, 35 insertions(+), 17 deletions(-) diff --git a/com.woltlab.wcf/templates/footer.tpl b/com.woltlab.wcf/templates/footer.tpl index dbbdd4a33d..8dd45119d2 100644 --- a/com.woltlab.wcf/templates/footer.tpl +++ b/com.woltlab.wcf/templates/footer.tpl @@ -89,6 +89,10 @@ {@FOOTER_CODE} + + diff --git a/com.woltlab.wcf/templates/userNotice.tpl b/com.woltlab.wcf/templates/userNotice.tpl index 645cbd364a..47745eefc3 100644 --- a/com.woltlab.wcf/templates/userNotice.tpl +++ b/com.woltlab.wcf/templates/userNotice.tpl @@ -1,4 +1,4 @@ -
+{capture assign='__userNotice'} {if OFFLINE && $__wcf->session->getPermission('admin.general.canViewPageDuringOfflineMode')}

{lang}wcf.page.offline{/lang}

@@ -14,26 +14,22 @@

{lang}wcf.global.availableUpdates{/lang}

{/if} - - {if $__wcf->user->activationCode && REGISTER_ACTIVATION_METHOD == 1 && $templateName != 'registerActivation'}

{lang}wcf.user.register.needActivation{/lang}

{/if} {hascontent} - {content} - {foreach from=$__wcf->getNoticeHandler()->getVisibleNotices() item='notice'} -

- {if $notice->isDismissible} - - {/if} - - {@$notice} -

- {/foreach} - {/content} + {content} + {foreach from=$__wcf->getNoticeHandler()->getVisibleNotices() item='notice'} +

+ {if $notice->isDismissible} + + {/if} + + {@$notice} +

+ {/foreach} + {/content}