0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00

editform.tpl:

- add handling for 'enma' fields (see PFAHandler r1711)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1720 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
Christian Boltz 2014-11-01 21:22:30 +00:00
parent 786a7d665e
commit 3d58d1f092

View File

@ -27,6 +27,10 @@
<select class="flat" name="value[{$key}]"> <select class="flat" name="value[{$key}]">
{html_options output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_{$key}} {html_options output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_{$key}}
</select> </select>
{elseif $field.type == 'enma'}
<select class="flat" name="value[{$key}]">
{html_options options=$struct.{$key}.options selected=$value_{$key}}
</select>
{elseif $field.type == 'list'} {elseif $field.type == 'list'}
<select class="flat" name="value[{$key}][]" size="10" multiple="multiple"> <select class="flat" name="value[{$key}][]" size="10" multiple="multiple">
{html_options output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_{$key}} {html_options output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_{$key}}