<form method="post" action="{if $action == 'add'}{link controller=$addController application=$objectType->getProcessor()->getApplication()}{/link}{else}{link controller=$editController application=$objectType->getProcessor()->getApplication() object=$category}{/link}{/if}">
<div class="container containerPadding marginTop">
+ {event name='beforeFieldsets'}
+
<fieldset>
<legend>{lang}wcf.global.form.data{/lang}</legend>
- {if $categoryNodeList->hasChildren() && $objectType->getProcessor()->getMaximumNestingLevel()}
- <dl{if $errorField == 'parentCategoryID'} class="formError"{/if}>
- <dt><label for="parentCategoryID">{@$objectType->getProcessor()->getLanguageVariable('parentCategoryID')}</label></dt>
- <dd>
- <select id="parentCategoryID" name="parentCategoryID">
- <option value="0"></option>
- {include file='categoryOptionList' categoryID=$parentCategoryID maximumNestingLevel=$objectType->getProcessor()->getMaximumNestingLevel()}
- </select>
- {if $errorField == 'parentCategoryID'}
- <small class="innerError">
- {assign var=__languageVariable value='parentCategoryID.error.'|concat:$errorType}
- {@$objectType->getProcessor()->getLanguageVariable($__languageVariable)}
- </small>
- {/if}
- {hascontent}<small>{content}{@$objectType->getProcessor()->getLanguageVariable('parentCategoryID.description', true)}{/content}</small>{/hascontent}
- </dd>
- </dl>
- {/if}
-
<dl{if $errorField == 'title'} class="formError"{/if}>
<dt><label for="title">{@$objectType->getProcessor()->getLanguageVariable('title')}</label></dt>
<dd>
</dd>
</dl>
+ {event name='dataFields'}
+ </fieldset>
+
+ <fieldset>
+ <legend>{@$objectType->getProcessor()->getLanguageVariable('position')}</legend>
+
+ {if $categoryNodeList->hasChildren() && $objectType->getProcessor()->getMaximumNestingLevel()}
+ <dl{if $errorField == 'parentCategoryID'} class="formError"{/if}>
+ <dt><label for="parentCategoryID">{@$objectType->getProcessor()->getLanguageVariable('parentCategoryID')}</label></dt>
+ <dd>
+ <select id="parentCategoryID" name="parentCategoryID">
+ <option value="0"></option>
+ {include file='categoryOptionList' categoryID=$parentCategoryID maximumNestingLevel=$objectType->getProcessor()->getMaximumNestingLevel()}
+ </select>
+ {if $errorField == 'parentCategoryID'}
+ <small class="innerError">
+ {assign var=__languageVariable value='parentCategoryID.error.'|concat:$errorType}
+ {@$objectType->getProcessor()->getLanguageVariable($__languageVariable)}
+ </small>
+ {/if}
+ {hascontent}<small>{content}{@$objectType->getProcessor()->getLanguageVariable('parentCategoryID.description', true)}{/content}</small>{/hascontent}
+ </dd>
+ </dl>
+ {/if}
+
<dl{if $errorField == 'showOrder'} class="formError"{/if}>
<dt><label for="showOrder">{@$objectType->getProcessor()->getLanguageVariable('showOrder')}</label></dt>
<dd>
</dd>
</dl>
- {event name='dataFields'}
+ {event name='positionFields'}
</fieldset>
{if $aclObjectTypeID}
</fieldset>
{/if}
- {event name='fieldsets'}
+ {event name='afterFieldsets'}
</div>
<div class="formSubmit">
<item name="wcf.category.noneAvailable"><![CDATA[Es wurde noch keine Kategorie hinzugefügt.]]></item>
<item name="wcf.category.parentCategoryID"><![CDATA[Übergeordnete Kategorie]]></item>
<item name="wcf.category.parentCategoryID.error.notValid"><![CDATA[Die ausgewählte Kategorie existiert nicht.]]></item>
+ <item name="wcf.category.position"><![CDATA[Position]]></item>
<item name="wcf.category.showOrder"><![CDATA[Position]]></item>
<item name="wcf.category.description"><![CDATA[Beschreibung]]></item>
<item name="wcf.category.title"><![CDATA[Titel]]></item>
<item name="wcf.category.noneAvailable"><![CDATA[No category has been added yet.]]></item>
<item name="wcf.category.parentCategoryID"><![CDATA[Parent Category]]></item>
<item name="wcf.category.parentCategoryID.error.notValid"><![CDATA[Chosen category does not exist.]]></item>
+ <item name="wcf.category.position"><![CDATA[Position]]></item>
<item name="wcf.category.showOrder"><![CDATA[Position]]></item>
<item name="wcf.category.description"><![CDATA[Description]]></item>
<item name="wcf.category.title"><![CDATA[Title]]></item>