From: Sebastian Öttl Date: Fri, 19 Jul 2013 20:06:36 +0000 (+0200) Subject: Improved categoryAdd template X-Git-Tag: 2.0.0_Beta_7~64^2~2^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ab603a3c7cc0444a783228c160d120425562241;p=GitHub%2FWoltLab%2FWCF.git Improved categoryAdd template --- diff --git a/wcfsetup/install/files/acp/templates/categoryAdd.tpl b/wcfsetup/install/files/acp/templates/categoryAdd.tpl index 383205d0b1..e315dfaa1d 100644 --- a/wcfsetup/install/files/acp/templates/categoryAdd.tpl +++ b/wcfsetup/install/files/acp/templates/categoryAdd.tpl @@ -45,28 +45,11 @@
+ {event name='beforeFieldsets'} +
{lang}wcf.global.form.data{/lang} - {if $categoryNodeList->hasChildren() && $objectType->getProcessor()->getMaximumNestingLevel()} - -
-
- - {if $errorField == 'parentCategoryID'} - - {assign var=__languageVariable value='parentCategoryID.error.'|concat:$errorType} - {@$objectType->getProcessor()->getLanguageVariable($__languageVariable)} - - {/if} - {hascontent}{content}{@$objectType->getProcessor()->getLanguageVariable('parentCategoryID.description', true)}{/content}{/hascontent} -
- - {/if} -
@@ -113,6 +96,31 @@
+ {event name='dataFields'} +
+ +
+ {@$objectType->getProcessor()->getLanguageVariable('position')} + + {if $categoryNodeList->hasChildren() && $objectType->getProcessor()->getMaximumNestingLevel()} + +
+
+ + {if $errorField == 'parentCategoryID'} + + {assign var=__languageVariable value='parentCategoryID.error.'|concat:$errorType} + {@$objectType->getProcessor()->getLanguageVariable($__languageVariable)} + + {/if} + {hascontent}{content}{@$objectType->getProcessor()->getLanguageVariable('parentCategoryID.description', true)}{/content}{/hascontent} +
+ + {/if} +
@@ -127,7 +135,7 @@
- {event name='dataFields'} + {event name='positionFields'}
{if $aclObjectTypeID} @@ -143,7 +151,7 @@ {/if} - {event name='fieldsets'} + {event name='afterFieldsets'}
diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 9f3d21d699..39befe51f5 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -1368,6 +1368,7 @@ Erlaubte Dateiendungen: {', '|implode:$attachmentHandler->getAllowedExtensions() + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 934773db4e..53167ca3a5 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -1366,6 +1366,7 @@ Allowed extensions: {', '|implode:$attachmentHandler->getAllowedExtensions()}]]> +