Fix position of `messageFieldsMultilingual` event in `pageAdd.tpl`
authorMatthias Schmidt <gravatronics@live.com>
Mon, 10 May 2021 10:25:59 +0000 (12:25 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 10 May 2021 10:25:59 +0000 (12:25 +0200)
The message tabs have to be below the relevant WYSIWYG editor. Inserting additional fields at this position would split them apart.

wcfsetup/install/files/acp/templates/pageAdd.tpl

index 1b654e345debdb58cc9df4bfa8ea70a198610f08..6820eba3cfdcb29d1979ecd95f22a9c816f36ba8 100644 (file)
                                                </dd>
                                        </dl>
                                        
+                                       
                                        <dl{if $errorField == 'content'} class="formError"{/if}>
                                                <dt><label for="content0">{lang}wcf.acp.page.content{/lang}</label></dt>
                                                <dd>
                                                                                </dd>
                                                                        </dl>
                                                                        
-                                                                       {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}
                                                                        <dl{if $errorField == $__errorFieldName} class="formError"{/if}>
                                                                                <dt><label for="metaDescription{@$availableLanguage->languageID}">{lang}wcf.acp.page.metaDescription{/lang}</label></dt>