mirror of https://github.com/avecms/AVE.cms.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
393 B
12 lines
393 B
{if $items} |
|
{foreach from=$items item=item} |
|
{$item.level} |
|
<option value="{$item.navigation_item_id}" {if $navigation_item_selected == $item.navigation_item_id}selected{/if}> |
|
{if $item.level > 0} |
|
{section name=section start=0 loop=$item.level-1}— {/section} |
|
{/if} |
|
{$item.title|escape} |
|
</option> |
|
{include file="$select_tpl" items=$item.children} |
|
{/foreach} |
|
{/if} |