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.

12 lines
381 B

8 years ago
{if $items}
<select name="feld[{$field_id}]" style="width: 400px;">
<option value="" >&nbsp;</option>
{foreach from=$items key=key item=item}
<option value="{$key|trim|escape}" {if $key|trim|escape == $field_value}selected="selected"{/if}>{$item|trim|escape}</option>
{/foreach}
</select>
{else}
<ul class="messages">
<li class="highlight yellow">{#no_items#}</li>
</ul>
{/if}