<template>__wysiwygSmileyFormNode</template>
<template>__form</template>
<template>__formField</template>
- <template>shared_formContainerChildren</template>
- <template>shared_formContainerDependencies</template>
- <template>shared_formField</template>
- <template>shared_formFieldDependencies</template>
- <template>shared_formFieldDescription</template>
- <template>shared_formFieldErrors</template>
+ <template>__formContainerChildren</template>
+ <template>__formContainerDependencies</template>
+ <template>__formField</template>
+ <template>__formFieldDependencies</template>
+ <template>__formFieldDescription</template>
+ <template>__formFieldErrors</template>
+ <template>__formFieldDataHandler</template>
</delete>
</data>
<template>__wysiwygSmileyFormNode</template>
<template>__form</template>
<template>__formField</template>
- <template>shared_formContainerChildren</template>
- <template>shared_formContainerDependencies</template>
- <template>shared_formField</template>
- <template>shared_formFieldDependencies</template>
- <template>shared_formFieldDescription</template>
- <template>shared_formFieldErrors</template>
+ <template>__formContainerChildren</template>
+ <template>__formContainerDependencies</template>
+ <template>__formField</template>
+ <template>__formFieldDependencies</template>
+ <template>__formFieldDescription</template>
+ <template>__formFieldErrors</template>
+ <template>__formFieldDataHandler</template>
+ <template>__singleSelectionFormField</template>
</delete>
</data>
+++ /dev/null
-{@$field->getObjectType()->getProcessor()->getFormElement()}
+++ /dev/null
-{if $field->isImmutable()}
- <span class="colorPickerButton">
- <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
- </span>
-{else}
- <a href="#" class="colorPickerButton jsTooltip" id="{$field->getPrefixedId()}_colorPickerButton" title="{lang}wcf.style.colorPicker.button.changeColor{/lang}" data-store="{$field->getPrefixedId()}">
- <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
- </a>
- <input type="hidden" {*
- *}id="{$field->getPrefixedId()}" {*
- *}name="{$field->getPrefixedId()}" {*
- *}value="{$field->getValue()}"{*
- *}>
-
- {include file='colorPickerJavaScript'}
-
- <script data-relocate="true">
- require(['WoltLabSuite/Core/Ui/Color/Picker'], (UiColorPicker) => {
- UiColorPicker.fromSelector("#{@$field->getPrefixedId()|encodeJS}_colorPickerButton");
- });
- </script>
-{/if}
+++ /dev/null
-{if $field->getDocument()->isAjax() && !$field->getJavaScriptDataHandlerModule()|empty}
- <script data-relocate="true">
- require([
- 'tslib',
- '{$field->getJavaScriptDataHandlerModule()}',
- 'WoltLabSuite/Core/Form/Builder/Manager'
- ], function(
- tslib,
- FormBuilderField,
- FormBuilderManager
- ) {
- FormBuilderField = tslib.__importDefault(FormBuilderField);
-
- FormBuilderManager.registerField(
- '{@$field->getDocument()->getId()|encodeJS}',
- new (FormBuilderField.default)('{@$field->getPrefixedId()|encodeJS}')
- );
- });
- </script>
-{/if}
+++ /dev/null
-<input type="hidden" {*
- *}id="{$field->getPrefixedId()}" {*
- *}name="{$field->getPrefixedId()}" {*
- *}value="{$field->getValue()}"{*
-*}>
+++ /dev/null
-{if $field->isFilterable()}
- <script data-relocate="true">
- require(['Language', 'WoltLabSuite/Core/Ui/ItemList/Filter'], function(Language, UiItemListFilter) {
- Language.addObject({
- 'wcf.global.filter.button.visibility': '{jslang}wcf.global.filter.button.visibility{/jslang}',
- 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
- 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
- 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
- 'wcf.global.filter.visibility.activeOnly': '{jslang}wcf.global.filter.visibility.activeOnly{/jslang}',
- 'wcf.global.filter.visibility.highlightActive': '{jslang}wcf.global.filter.visibility.highlightActive{/jslang}',
- 'wcf.global.filter.visibility.showAll': '{jslang}wcf.global.filter.visibility.showAll{/jslang}'
- });
-
- new UiItemListFilter('{@$field->getPrefixedId()|encodeJS}_list');
- });
- </script>
-
- <ul class="scrollableCheckboxList" id="{$field->getPrefixedId()}_list">
- {foreach from=$field->getNestedOptions() item=__fieldNestedOption}
- <li{if $__fieldNestedOption[depth] > 0} style="padding-left: {$__fieldNestedOption[depth]*20}px"{/if}>
- <label><input {*
- *}type="radio" {*
- *}name="{$field->getPrefixedId()}" {*
- *}value="{$__fieldNestedOption[value]}"{*
- *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
- *}{if $field->getValue() == $__fieldNestedOption[value] && $__fieldNestedOption[isSelectable]} checked{/if}{*
- *}{if $field->isImmutable() || !$__fieldNestedOption[isSelectable]} disabled{/if}{*
- *}> {@$__fieldNestedOption[label]}</label>
- </li>
- {/foreach}
- </ul>
-{else}
- <select id="{$field->getPrefixedId()}" {*
- *}name="{$field->getPrefixedId()}"{*
- *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
- *}>
- {foreach from=$field->getNestedOptions() item=__fieldNestedOption}
- <option {*
- *}value="{$__fieldNestedOption[value]}"{*
- *}{if $field->getValue() == $__fieldNestedOption[value] && $__fieldNestedOption[isSelectable]} selected{/if}{*
- *}{if $field->isImmutable() || !$__fieldNestedOption[isSelectable]} disabled{/if}{*
- *}>{@' '|str_repeat:$__fieldNestedOption[depth] * 4}{@$__fieldNestedOption[label]}</option>
- {/foreach}
- </select>
-{/if}
--- /dev/null
+{@$field->getObjectType()->getProcessor()->getFormElement()}
--- /dev/null
+{if $field->isImmutable()}
+ <span class="colorPickerButton">
+ <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
+ </span>
+{else}
+ <a href="#" class="colorPickerButton jsTooltip" id="{$field->getPrefixedId()}_colorPickerButton" title="{lang}wcf.style.colorPicker.button.changeColor{/lang}" data-store="{$field->getPrefixedId()}">
+ <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
+ </a>
+ <input type="hidden" {*
+ *}id="{$field->getPrefixedId()}" {*
+ *}name="{$field->getPrefixedId()}" {*
+ *}value="{$field->getValue()}"{*
+ *}>
+
+ {include file='colorPickerJavaScript'}
+
+ <script data-relocate="true">
+ require(['WoltLabSuite/Core/Ui/Color/Picker'], (UiColorPicker) => {
+ UiColorPicker.fromSelector("#{@$field->getPrefixedId()|encodeJS}_colorPickerButton");
+ });
+ </script>
+{/if}
--- /dev/null
+{if $field->getDocument()->isAjax() && !$field->getJavaScriptDataHandlerModule()|empty}
+ <script data-relocate="true">
+ require([
+ 'tslib',
+ '{$field->getJavaScriptDataHandlerModule()}',
+ 'WoltLabSuite/Core/Form/Builder/Manager'
+ ], function(
+ tslib,
+ FormBuilderField,
+ FormBuilderManager
+ ) {
+ FormBuilderField = tslib.__importDefault(FormBuilderField);
+
+ FormBuilderManager.registerField(
+ '{@$field->getDocument()->getId()|encodeJS}',
+ new (FormBuilderField.default)('{@$field->getPrefixedId()|encodeJS}')
+ );
+ });
+ </script>
+{/if}
--- /dev/null
+<input type="hidden" {*
+ *}id="{$field->getPrefixedId()}" {*
+ *}name="{$field->getPrefixedId()}" {*
+ *}value="{$field->getValue()}"{*
+*}>
--- /dev/null
+{if $field->isFilterable()}
+ <script data-relocate="true">
+ require(['Language', 'WoltLabSuite/Core/Ui/ItemList/Filter'], function(Language, UiItemListFilter) {
+ Language.addObject({
+ 'wcf.global.filter.button.visibility': '{jslang}wcf.global.filter.button.visibility{/jslang}',
+ 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
+ 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
+ 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
+ 'wcf.global.filter.visibility.activeOnly': '{jslang}wcf.global.filter.visibility.activeOnly{/jslang}',
+ 'wcf.global.filter.visibility.highlightActive': '{jslang}wcf.global.filter.visibility.highlightActive{/jslang}',
+ 'wcf.global.filter.visibility.showAll': '{jslang}wcf.global.filter.visibility.showAll{/jslang}'
+ });
+
+ new UiItemListFilter('{@$field->getPrefixedId()|encodeJS}_list');
+ });
+ </script>
+
+ <ul class="scrollableCheckboxList" id="{$field->getPrefixedId()}_list">
+ {foreach from=$field->getNestedOptions() item=__fieldNestedOption}
+ <li{if $__fieldNestedOption[depth] > 0} style="padding-left: {$__fieldNestedOption[depth]*20}px"{/if}>
+ <label><input {*
+ *}type="radio" {*
+ *}name="{$field->getPrefixedId()}" {*
+ *}value="{$__fieldNestedOption[value]}"{*
+ *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+ *}{if $field->getValue() == $__fieldNestedOption[value] && $__fieldNestedOption[isSelectable]} checked{/if}{*
+ *}{if $field->isImmutable() || !$__fieldNestedOption[isSelectable]} disabled{/if}{*
+ *}> {@$__fieldNestedOption[label]}</label>
+ </li>
+ {/foreach}
+ </ul>
+{else}
+ <select id="{$field->getPrefixedId()}" {*
+ *}name="{$field->getPrefixedId()}"{*
+ *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+ *}>
+ {foreach from=$field->getNestedOptions() item=__fieldNestedOption}
+ <option {*
+ *}value="{$__fieldNestedOption[value]}"{*
+ *}{if $field->getValue() == $__fieldNestedOption[value] && $__fieldNestedOption[isSelectable]} selected{/if}{*
+ *}{if $field->isImmutable() || !$__fieldNestedOption[isSelectable]} disabled{/if}{*
+ *}>{@' '|str_repeat:$__fieldNestedOption[depth] * 4}{@$__fieldNestedOption[label]}</option>
+ {/foreach}
+ </select>
+{/if}
+++ /dev/null
-{@$field->getObjectType()->getProcessor()->getFormElement()}
+++ /dev/null
-{if $field->isImmutable()}
- <span class="colorPickerButton">
- <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
- </span>
-{else}
- <a href="#" class="colorPickerButton jsTooltip" id="{$field->getPrefixedId()}_colorPickerButton" title="{lang}wcf.style.colorPicker.button.changeColor{/lang}" data-store="{$field->getPrefixedId()}">
- <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
- </a>
- <input type="hidden" {*
- *}id="{$field->getPrefixedId()}" {*
- *}name="{$field->getPrefixedId()}" {*
- *}value="{$field->getValue()}"{*
- *}>
-
- {include file='colorPickerJavaScript'}
-
- <script data-relocate="true">
- require(['WoltLabSuite/Core/Ui/Color/Picker'], (UiColorPicker) => {
- UiColorPicker.fromSelector("#{@$field->getPrefixedId()|encodeJS}_colorPickerButton");
- });
- </script>
-{/if}
+++ /dev/null
-{if $field->getDocument()->isAjax() && !$field->getJavaScriptDataHandlerModule()|empty}
- <script data-relocate="true">
- require([
- 'tslib',
- '{$field->getJavaScriptDataHandlerModule()}',
- 'WoltLabSuite/Core/Form/Builder/Manager'
- ], function(
- tslib,
- FormBuilderField,
- FormBuilderManager
- ) {
- FormBuilderField = tslib.__importDefault(FormBuilderField);
-
- FormBuilderManager.registerField(
- '{@$field->getDocument()->getId()|encodeJS}',
- new (FormBuilderField.default)('{@$field->getPrefixedId()|encodeJS}')
- );
- });
- </script>
-{/if}
+++ /dev/null
-<input type="hidden" {*
- *}id="{$field->getPrefixedId()}" {*
- *}name="{$field->getPrefixedId()}" {*
- *}value="{$field->getValue()}"{*
-*}>
+++ /dev/null
-{include file='aclSimple'}
-
-{include file='__formFieldDataHandler'}
+++ /dev/null
-{if $field->isFilterable()}
- <script data-relocate="true">
- require(['Language', 'WoltLabSuite/Core/Ui/ItemList/Filter'], function(Language, UiItemListFilter) {
- Language.addObject({
- 'wcf.global.filter.button.visibility': '{jslang}wcf.global.filter.button.visibility{/jslang}',
- 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
- 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
- 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
- 'wcf.global.filter.visibility.activeOnly': '{jslang}wcf.global.filter.visibility.activeOnly{/jslang}',
- 'wcf.global.filter.visibility.highlightActive': '{jslang}wcf.global.filter.visibility.highlightActive{/jslang}',
- 'wcf.global.filter.visibility.showAll': '{jslang}wcf.global.filter.visibility.showAll{/jslang}'
- });
-
- new UiItemListFilter('{@$field->getPrefixedId()|encodeJS}_list');
- });
- </script>
-
- <ul class="scrollableCheckboxList" id="{$field->getPrefixedId()}_list">
- {foreach from=$field->getNestedOptions() item=__fieldNestedOption}
- <li{if $__fieldNestedOption[depth] > 0} style="padding-left: {$__fieldNestedOption[depth]*20}px"{/if}>
- <label><input {*
- *}type="radio" {*
- *}name="{$field->getPrefixedId()}" {*
- *}value="{$__fieldNestedOption[value]}"{*
- *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
- *}{if $field->getValue() == $__fieldNestedOption[value] && $__fieldNestedOption[isSelectable]} checked{/if}{*
- *}{if $field->isImmutable() || !$__fieldNestedOption[isSelectable]} disabled{/if}{*
- *}> {@$__fieldNestedOption[label]}</label>
- </li>
- {/foreach}
- </ul>
-{else}
- <select id="{$field->getPrefixedId()}" {*
- *}name="{$field->getPrefixedId()}"{*
- *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
- *}>
- {foreach from=$field->getNestedOptions() item=__fieldNestedOption}
- <option {*
- *}value="{$__fieldNestedOption[value]}"{*
- *}{if $field->getValue() == $__fieldNestedOption[value] && $__fieldNestedOption[isSelectable]} selected{/if}{*
- *}{if $field->isImmutable() || !$__fieldNestedOption[isSelectable]} disabled{/if}{*
- *}>{@' '|str_repeat:$__fieldNestedOption[depth] * 4}{@$__fieldNestedOption[label]}</option>
- {/foreach}
- </select>
-{/if}