<div class="section">
<dl>
- <dt><label for="postCopyNewThreadTopic">{lang}wcf.media.category.choose{/lang}</label></dt>
- <select name="categoryID">
- <option value="0">{lang}wcf.global.noSelection{/lang}</option>
-
- {foreach from=$categoryList item=categoryItem}
- <option value="{$categoryItem->categoryID}">{$categoryItem->getTitle()}</option>
+ <dt><label for="categoryID">{lang}wcf.media.category.choose{/lang}</label></dt>
+ <dd>
+ <select name="categoryID">
+ <option value="0">{lang}wcf.global.noSelection{/lang}</option>
- {if $categoryItem->hasChildren()}
- {foreach from=$categoryItem item=subCategoryItem}
- <option value="{$subCategoryItem->categoryID}"> {$subCategoryItem->getTitle()}</option>
-
- {if $subCategoryItem->hasChildren()}
- {foreach from=$subCategoryItem item=subSubCategoryItem}
- <option value="{$subSubCategoryItem->categoryID}"> {$subSubCategoryItem->getTitle()}</option>
- {/foreach}
- {/if}
- {/foreach}
- {/if}
- {/foreach}
- </select>
+ {foreach from=$categoryList item=categoryItem}
+ <option value="{$categoryItem->categoryID}">{$categoryItem->getTitle()}</option>
+
+ {if $categoryItem->hasChildren()}
+ {foreach from=$categoryItem item=subCategoryItem}
+ <option value="{$subCategoryItem->categoryID}"> {$subCategoryItem->getTitle()}</option>
+
+ {if $subCategoryItem->hasChildren()}
+ {foreach from=$subCategoryItem item=subSubCategoryItem}
+ <option value="{$subSubCategoryItem->categoryID}"> {$subSubCategoryItem->getTitle()}</option>
+ {/foreach}
+ {/if}
+ {/foreach}
+ {/if}
+ {/foreach}
+ </select>
+ </dd>
</dl>
</div>
<div class="section">
<dl>
- <dt><label for="postCopyNewThreadTopic">{lang}wcf.media.category.choose{/lang}</label></dt>
- <select name="categoryID">
- <option value="0">{lang}wcf.global.noSelection{/lang}</option>
-
- {foreach from=$categoryList item=categoryItem}
- <option value="{$categoryItem->categoryID}">{$categoryItem->getTitle()}</option>
+ <dt><label for="categoryID">{lang}wcf.media.category.choose{/lang}</label></dt>
+ <dd>
+ <select name="categoryID">
+ <option value="0">{lang}wcf.global.noSelection{/lang}</option>
- {if $categoryItem->hasChildren()}
- {foreach from=$categoryItem item=subCategoryItem}
- <option value="{$subCategoryItem->categoryID}"> {$subCategoryItem->getTitle()}</option>
-
- {if $subCategoryItem->hasChildren()}
- {foreach from=$subCategoryItem item=subSubCategoryItem}
- <option value="{$subSubCategoryItem->categoryID}"> {$subSubCategoryItem->getTitle()}</option>
- {/foreach}
- {/if}
- {/foreach}
- {/if}
- {/foreach}
- </select>
+ {foreach from=$categoryList item=categoryItem}
+ <option value="{$categoryItem->categoryID}">{$categoryItem->getTitle()}</option>
+
+ {if $categoryItem->hasChildren()}
+ {foreach from=$categoryItem item=subCategoryItem}
+ <option value="{$subCategoryItem->categoryID}"> {$subCategoryItem->getTitle()}</option>
+
+ {if $subCategoryItem->hasChildren()}
+ {foreach from=$subCategoryItem item=subSubCategoryItem}
+ <option value="{$subSubCategoryItem->categoryID}"> {$subSubCategoryItem->getTitle()}</option>
+ {/foreach}
+ {/if}
+ {/foreach}
+ {/if}
+ {/foreach}
+ </select>
+ </dd>
</dl>
</div>