From: Matthias Schmidt Date: Mon, 10 May 2021 10:25:59 +0000 (+0200) Subject: Fix position of `messageFieldsMultilingual` event in `pageAdd.tpl` X-Git-Tag: 5.4.0_Alpha_2~5^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c1a98ccc39e084fd0a1f18b1dddbb4adf999bf25;p=GitHub%2FWoltLab%2FWCF.git Fix position of `messageFieldsMultilingual` event in `pageAdd.tpl` The message tabs have to be below the relevant WYSIWYG editor. Inserting additional fields at this position would split them apart. --- diff --git a/wcfsetup/install/files/acp/templates/pageAdd.tpl b/wcfsetup/install/files/acp/templates/pageAdd.tpl index 1b654e345d..6820eba3cf 100644 --- a/wcfsetup/install/files/acp/templates/pageAdd.tpl +++ b/wcfsetup/install/files/acp/templates/pageAdd.tpl @@ -361,6 +361,7 @@ +
@@ -466,12 +467,12 @@
- {event name='messageFieldsMultilingual'} - {if $pageType == 'text'} {include file='messageFormTabs' wysiwygContainerID='content'|concat:$availableLanguage->languageID} {/if} + {event name='messageFieldsMultilingual'} + {assign var='__errorFieldName' value='metaDescription_'|concat:$availableLanguage->languageID}