editform.tpl:

- replace hardcoded $value_transport with {$value_{$key}


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1270 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 13 years ago
parent 06ffffae7d
commit 3f0e77e6ab

@ -24,7 +24,7 @@
<input class="flat" type="checkbox" value='1' name="{$key}"{if {$value_{$key}} == 1} checked="checked"{/if}/>
{elseif $field.type == 'enum'}
<select class="flat" name="{$key}">
{html_options output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_transport}
{html_options output=$struct.{$key}.options values=$struct.{$key}.options selected={$value_{$key}}}
</select>
{else}
<input class="flat" type="text" name="{$key}" value="{$value_{$key}}" />

Loading…
Cancel
Save