Fixes issues in monolingual setups
authorMatthias Schmidt <gravatronics@live.com>
Tue, 1 Oct 2013 19:14:32 +0000 (21:14 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 1 Oct 2013 19:14:32 +0000 (21:14 +0200)
wcfsetup/install/files/acp/templates/cronjobAdd.tpl
wcfsetup/install/files/acp/templates/pageMenuItemAdd.tpl
wcfsetup/install/files/acp/templates/smileyAdd.tpl
wcfsetup/install/files/acp/templates/styleAdd.tpl

index 2dd986bc178519541405de3c94f41f72de5bc71b..bb694b42e6fbd030975bec8d1cfa9c84915f13e7 100644 (file)
@@ -48,7 +48,7 @@
                        <dl{if $errorField == 'description'} class="formError"{/if}>
                                <dt><label for="description">{lang}wcf.acp.cronjob.description{/lang}</label></dt>
                                <dd>
-                                       <input type="text" id="description" name="description" value="{$description}" class="long" />
+                                       <input type="text" id="description" name="description" value="{$i18nPlainValues['description']}" class="long" />
                                        {if $errorField == 'description'}
                                                <small class="innerError">
                                                        {if $errorType == 'empty' || $errorType == 'multilingual'}
index f558b264e773ecd60f5be45997d571117b425470..920a4a82b799b961f1e557191e68167ebcc0e97f 100644 (file)
                        <dl{if $errorField == 'pageMenuItem'} class="formError"{/if}>
                                <dt><label for="pageMenuItem">{lang}wcf.acp.pageMenu.pageMenuItem{/lang}</label></dt>
                                <dd>
-                                       <input type="text" name="pageMenuItem" id="pageMenuItem" value="{$pageMenuItem}" class="long" required="required" />
+                                       <input type="text" name="pageMenuItem" id="pageMenuItem" value="{$i18nPlainValues['pageMenuItem']}" class="long" required="required" />
                                        {if $errorField == 'pageMenuItem'}
                                                <small class="innerError">
                                                        {if $errorType == 'empty'}
index 47f3139966c813101039737d8a841c697a9fe0cd..1bb3add6495abd9787d7cf62db576aab73ae1933 100644 (file)
@@ -33,7 +33,7 @@
                        <dl{if $errorField == 'smileyTitle'} class="formError"{/if}>
                                <dt><label for="smileyTitle">{lang}wcf.acp.smiley.title{/lang}</label></dt>
                                <dd>
-                                       <input type="text" id="smileyTitle" name="smileyTitle" value="{$smileyTitle}" autofocus="autofocus" class="long" />
+                                       <input type="text" id="smileyTitle" name="smileyTitle" value="{$i18nPlainValues['smileyTitle']}" autofocus="autofocus" class="long" />
                                        
                                        {if $errorField == 'smileyTitle'}
                                                <small class="innerError">
@@ -46,7 +46,6 @@
                                        {/if}
                                </dd>
                        </dl>
-                       
                        {include file='multipleLanguageInputJavascript' elementIdentifier='smileyTitle' forceSelection=false}
                        
                        <dl{if $errorField == 'categoryID'} class="formError"{/if}>
index 231746fc678e4d96abdb546d238265c2b09c5214..b2b7adbec1a0b929c608e34ade826b73f80291c3 100644 (file)
                                <dl{if $errorField == 'styleDescription'} class="formError"{/if}>
                                        <dt><label for="styleDescription">{lang}wcf.acp.style.styleDescription{/lang}</label></dt>
                                        <dd>
-                                               <textarea name="styleDescription" id="styleDescription">{$styleDescription}</textarea>
+                                               <textarea name="styleDescription" id="styleDescription">{$i18nPlainValues['styleDescription']}</textarea>
                                                {if $errorField == 'styleDescription'}
                                                        <small class="innerError">
                                                                {if $errorType == 'empty'}