editform.tpl:

- display cleartext value instead of key for readonly enma fields


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1721 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 10 years ago
parent 3d58d1f092
commit 1ad0d6832b

@ -17,7 +17,11 @@
<td class="label">{$field.label}</td>
<td>
{if $field.editable == 0}
{$value_{$key}}
{if $field.type == 'enma'}
{$struct.{$key}.options.{$value_{$key}}}
{else}
{$value_{$key}}
{/if}
{else}
{if $table == 'foo' && $key == 'bar'}
Special handling (td content) for {$table} / {$key}

Loading…
Cancel
Save