From: Matthias Schmidt Date: Wed, 5 Jun 2013 15:34:10 +0000 (+0200) Subject: Fixes multilingual offline message X-Git-Tag: 2.0.0_Beta_4~125^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eb81ab773d5465779f1d14feaa400c47f7181372;p=GitHub%2FWoltLab%2FWCF.git Fixes multilingual offline message --- diff --git a/com.woltlab.wcf/templates/offline.tpl b/com.woltlab.wcf/templates/offline.tpl index 3f47d84390..8c317e3c1f 100644 --- a/com.woltlab.wcf/templates/offline.tpl +++ b/com.woltlab.wcf/templates/offline.tpl @@ -8,11 +8,11 @@ -{include file='header'} +{include file='header' skipBreadcrumbs=true}

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

-

{if OFFLINE_MESSAGE_ALLOW_HTML}{@OFFLINE_MESSAGE}{else}{@OFFLINE_MESSAGE|htmlspecialchars|nl2br}{/if}

+

{if OFFLINE_MESSAGE_ALLOW_HTML}{@OFFLINE_MESSAGE|language}{else}{@OFFLINE_MESSAGE|language|htmlspecialchars|nl2br}{/if}

{include file='footer'} diff --git a/com.woltlab.wcf/templates/userNotice.tpl b/com.woltlab.wcf/templates/userNotice.tpl index 9d12305ebe..ff65074fad 100644 --- a/com.woltlab.wcf/templates/userNotice.tpl +++ b/com.woltlab.wcf/templates/userNotice.tpl @@ -2,7 +2,7 @@ {if OFFLINE && $__wcf->session->getPermission('admin.general.canViewPageDuringOfflineMode')}

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

-

{if OFFLINE_MESSAGE_ALLOW_HTML}{@OFFLINE_MESSAGE}{else}{@OFFLINE_MESSAGE|htmlspecialchars|nl2br}{/if}

+

{if OFFLINE_MESSAGE_ALLOW_HTML}{@OFFLINE_MESSAGE|language}{else}{@OFFLINE_MESSAGE|language|htmlspecialchars|nl2br}{/if}

{/if}