Template synchronization
authorAlexander Ebert <ebert@woltlab.com>
Sun, 6 Jan 2019 10:32:28 +0000 (11:32 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 6 Jan 2019 10:32:28 +0000 (11:32 +0100)
com.woltlab.wcf/templates/__multiPageCondition.tpl [new file with mode: 0644]
com.woltlab.wcf/templates/__multilineTextFormField.tpl

diff --git a/com.woltlab.wcf/templates/__multiPageCondition.tpl b/com.woltlab.wcf/templates/__multiPageCondition.tpl
new file mode 100644 (file)
index 0000000..bbe1235
--- /dev/null
@@ -0,0 +1,9 @@
+<dl>
+       <dt></dt>
+       <dd>
+               <label><input type="checkbox" id="{$fieldName}_reverseLogic" name="{$fieldName}_reverseLogic" value="1"{if $reverseLogic} checked{/if}> {lang}wcf.page.requestedPage.condition.reverseLogic{/lang}</label>
+               <small>{lang}wcf.page.requestedPage.condition.reverseLogic.description{/lang}</small>
+       </dd>
+</dl>
+
+{@$conditionHtml}
index 06f07aea9880b4c4d02cb4fe25be3c69a3011a6d..87f4ea315132d3077920c47514f963eb98edec7f 100644 (file)
@@ -1,6 +1,15 @@
 {include file='__formFieldHeader'}
 
-<textarea id="{@$field->getPrefixedId()}" name="{@$field->getPrefixedId()}" rows="{@$field->getRows()}"{if $field->isAutofocused()} autofocus{/if}{if $field->isRequired()} required{/if}{if $field->isImmutable()} disabled{/if}{if $field->getMinimumLength() !== null} minlength="{$field->getMinimumLength()}"{/if}{if $field->getMaximumLength() !== null} maxlength="{$field->getMaximumLength()}"{/if}{if $field->getPlaceholder() !== null} placeholder="{$field->getPlaceholder()}"{/if}">{$field->getValue()}</textarea>
+<textarea id="{@$field->getPrefixedId()}" {*
+       *}name="{@$field->getPrefixedId()}" {*
+       *}rows="{@$field->getRows()}"{*
+       *}{if $field->isAutofocused()} autofocus{/if}{*
+       *}{if $field->isRequired()} required{/if}{*
+       *}{if $field->isImmutable()} disabled{/if}{*
+       *}{if $field->getMinimumLength() !== null} minlength="{$field->getMinimumLength()}"{/if}{*
+       *}{if $field->getMaximumLength() !== null} maxlength="{$field->getMaximumLength()}"{/if}{*
+       *}{if $field->getPlaceholder() !== null} placeholder="{$field->getPlaceholder()}"{/if}{*
+*}>{$field->getValue()}</textarea>
 
 {if $field->isI18n()}
        {include file='multipleLanguageInputJavascript'}