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
This commit is contained in:
Christian Boltz committed 2011-11-13 00:11:45 +00:00
1 parent 06ffffae7d
commit 3f0e77e6ab
1 file changed
+1 -1
+1 -1
View File
@@ -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}}" />