AVE.CMS v3.28
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.

13 lines
450 B

8 years ago
{if $items}
{assign var=field_level value=$field_level+1 scope="global"}
{foreach from=$items key=key item=field}
<option value="{$field.Id}" {if $field.Id == $field_value}selected="selected"{/if}>
{if $field_level > 0}
{section name=section start=0 loop=$field_level-1}&mdash;&nbsp;{/section}&mdash;&nbsp;
{/if}
{$field.document_title|escape|stripslashes}
</option>
{include file="$subtpl" items=$field.child}
{/foreach}
{/if}