Merge branch '5.3'
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / categoryOptionList.tpl
CommitLineData
796fdcf2 1{foreach from=$categoryNodeList item='category'}
de30b599 2 {if !$maximumNestingLevel|isset || $maximumNestingLevel == -1 || $categoryNodeList->getDepth() < $maximumNestingLevel}
6f2bc235 3 <option value="{$category->categoryID}"{if $categoryID|isset && $categoryID == $category->categoryID} selected{/if}>{section name=i loop=$categoryNodeList->getDepth()}&nbsp;&nbsp;&nbsp;&nbsp;{/section}{$category->getTitle()}</option>
045f075b 4 {/if}
de30b599 5{/foreach}