From eb81ab773d5465779f1d14feaa400c47f7181372 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 5 Jun 2013 17:34:10 +0200 Subject: [PATCH] Fixes multilingual offline message --- com.woltlab.wcf/templates/offline.tpl | 4 ++-- com.woltlab.wcf/templates/userNotice.tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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} -- 2.20.1