Fix html syntax error
authorMarcel Werk <burntime@woltlab.com>
Mon, 6 Nov 2023 15:47:08 +0000 (16:47 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 6 Nov 2023 15:47:08 +0000 (16:47 +0100)
com.woltlab.wcf/templates/__mediaSetCategoryDialog.tpl
wcfsetup/install/files/acp/templates/__mediaSetCategoryDialog.tpl

index 0954bde9ba828470ea29838a9d274b81e956005a..f2f7b3dba18e4d5d6d2b3a0fd52de0d752b10c2a 100644 (file)
@@ -1,25 +1,27 @@
 <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}">&nbsp;&nbsp;&nbsp;&nbsp;{$subCategoryItem->getTitle()}</option>
-                                               
-                                               {if $subCategoryItem->hasChildren()}
-                                                       {foreach from=$subCategoryItem item=subSubCategoryItem}
-                                                               <option value="{$subSubCategoryItem->categoryID}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$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}">&nbsp;&nbsp;&nbsp;&nbsp;{$subCategoryItem->getTitle()}</option>
+                                                       
+                                                       {if $subCategoryItem->hasChildren()}
+                                                               {foreach from=$subCategoryItem item=subSubCategoryItem}
+                                                                       <option value="{$subSubCategoryItem->categoryID}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$subSubCategoryItem->getTitle()}</option>
+                                                               {/foreach}
+                                                       {/if}
+                                               {/foreach}
+                                       {/if}
+                               {/foreach}
+                       </select>
+               </dd>
        </dl>
 </div>
 
index 0954bde9ba828470ea29838a9d274b81e956005a..f2f7b3dba18e4d5d6d2b3a0fd52de0d752b10c2a 100644 (file)
@@ -1,25 +1,27 @@
 <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}">&nbsp;&nbsp;&nbsp;&nbsp;{$subCategoryItem->getTitle()}</option>
-                                               
-                                               {if $subCategoryItem->hasChildren()}
-                                                       {foreach from=$subCategoryItem item=subSubCategoryItem}
-                                                               <option value="{$subSubCategoryItem->categoryID}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$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}">&nbsp;&nbsp;&nbsp;&nbsp;{$subCategoryItem->getTitle()}</option>
+                                                       
+                                                       {if $subCategoryItem->hasChildren()}
+                                                               {foreach from=$subCategoryItem item=subSubCategoryItem}
+                                                                       <option value="{$subSubCategoryItem->categoryID}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$subSubCategoryItem->getTitle()}</option>
+                                                               {/foreach}
+                                                       {/if}
+                                               {/foreach}
+                                       {/if}
+                               {/foreach}
+                       </select>
+               </dd>
        </dl>
 </div>