{event name='footer'}
+<div class="pageFooterStickyNotice">
+ {if MODULE_COOKIE_POLICY_PAGE && $__wcf->session->isFirstVisit() && !$__wcf->user->userID}
+ <p class="info cookiePolicyNotice">
+ {lang}wcf.page.cookiePolicy.info{/lang}
+ <span class="icon icon16 fa-times jsTooltip jsOnly pointer cookiePolicyNoticeDismiss" title="{lang}wcf.global.button.close{/lang}"></span>
+ <script data-relocate="true">
+ elBySel('.cookiePolicyNoticeDismiss').addEventListener(WCF_CLICK_EVENT, function() {
+ elRemove(elBySel('.cookiePolicyNotice'));
+ });
+ </script>
+ </p>
+ {/if}
+
+ {event name='pageFooterStickyNotice'}
+
+ <noscript>
+ <p class="error javascriptDisabledWarning">{lang}wcf.page.javascriptDisabled{/lang}</p>
+ </noscript>
+</div>
+
<!-- JAVASCRIPT_RELOCATE_POSITION -->
{@FOOTER_CODE}
-<noscript>
- <p class="javascriptDisabledWarning">{lang}wcf.page.javascriptDisabled{/lang}</p>
-</noscript>
-
<a id="bottom"></a>
</body>
</div>
{/if}
- {if MODULE_COOKIE_POLICY_PAGE && $__wcf->session->isFirstVisit() && !$__wcf->user->userID}
- <p class="info cookiePolicyNotice">{lang}wcf.page.cookiePolicy.info{/lang}</p>
- {/if}
-
{if $__wcf->session->getPermission('admin.configuration.package.canUpdatePackage') && $__wcf->getAvailableUpdates()}
<p class="info">{lang}wcf.global.availableUpdates{/lang}</p>
{/if}
}
}
-.javascriptDisabledWarning {
- background-color: $wcfStatusErrorBackground;
- border-top: 1px solid $wcfStatusErrorBorder;
+/* sticky footer notices */
+.pageFooterStickyNotice {
bottom: 0;
- color: $wcfStatusErrorText;
left: 0;
- padding: 10px 20px;
- position: fixed;
right: 0;
+ position: fixed;
text-align: center;
+
+ .error,
+ .info,
+ .success,
+ .warning {
+ border-left-width: 0;
+ border-top-width: 1px;
+ border-top-style: solid;
+ margin-top: 0;
+ }
}
/* inline infos */