From: Marcel Werk Date: Mon, 6 Nov 2023 15:47:08 +0000 (+0100) Subject: Fix html syntax error X-Git-Tag: 6.1.0_Alpha_1~246 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1eabbd907dd22e658133242e2c2f66b8c952aefa;p=GitHub%2FWoltLab%2FWCF.git Fix html syntax error --- diff --git a/com.woltlab.wcf/templates/__mediaSetCategoryDialog.tpl b/com.woltlab.wcf/templates/__mediaSetCategoryDialog.tpl index 0954bde9ba..f2f7b3dba1 100644 --- a/com.woltlab.wcf/templates/__mediaSetCategoryDialog.tpl +++ b/com.woltlab.wcf/templates/__mediaSetCategoryDialog.tpl @@ -1,25 +1,27 @@
-
- + - {if $categoryItem->hasChildren()} - {foreach from=$categoryItem item=subCategoryItem} - - - {if $subCategoryItem->hasChildren()} - {foreach from=$subCategoryItem item=subSubCategoryItem} - - {/foreach} - {/if} - {/foreach} - {/if} - {/foreach} - + {foreach from=$categoryList item=categoryItem} + + + {if $categoryItem->hasChildren()} + {foreach from=$categoryItem item=subCategoryItem} + + + {if $subCategoryItem->hasChildren()} + {foreach from=$subCategoryItem item=subSubCategoryItem} + + {/foreach} + {/if} + {/foreach} + {/if} + {/foreach} + +
diff --git a/wcfsetup/install/files/acp/templates/__mediaSetCategoryDialog.tpl b/wcfsetup/install/files/acp/templates/__mediaSetCategoryDialog.tpl index 0954bde9ba..f2f7b3dba1 100644 --- a/wcfsetup/install/files/acp/templates/__mediaSetCategoryDialog.tpl +++ b/wcfsetup/install/files/acp/templates/__mediaSetCategoryDialog.tpl @@ -1,25 +1,27 @@
-
- + - {if $categoryItem->hasChildren()} - {foreach from=$categoryItem item=subCategoryItem} - - - {if $subCategoryItem->hasChildren()} - {foreach from=$subCategoryItem item=subSubCategoryItem} - - {/foreach} - {/if} - {/foreach} - {/if} - {/foreach} - + {foreach from=$categoryList item=categoryItem} + + + {if $categoryItem->hasChildren()} + {foreach from=$categoryItem item=subCategoryItem} + + + {if $subCategoryItem->hasChildren()} + {foreach from=$subCategoryItem item=subSubCategoryItem} + + {/foreach} + {/if} + {/foreach} + {/if} + {/foreach} + +