From 64c6e9f0a079d16593ed090d1f025de7227938ac Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Tue, 17 Mar 2015 22:06:48 +0000 Subject: [PATCH] list.tpl: - fix displaying list and txtl fields git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1751 a1433add-5e2c-0410-b055-b7f2511e0802 --- templates/list.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/list.tpl b/templates/list.tpl index 775ec38f..073360cc 100644 --- a/templates/list.tpl +++ b/templates/list.tpl @@ -66,7 +66,7 @@ {elseif $field.type == 'bool'} {assign "tmpkey" "_{$key}"}{$item.{$tmpkey}} {elseif $field.type == 'list'} - {foreach key=key2 item=field2 from=$value_{$key}}

{$field2} {/foreach} + {foreach key=key2 item=field2 from=$item.$key}{$field2}
{/foreach} {elseif $field.type == 'pass'} (hidden) {elseif $field.type == 'quot'} @@ -89,7 +89,7 @@ {/if} {elseif $field.type == 'txtl'} - {foreach key=key2 item=field2 from=$value_{$key}}

{$field2} {/foreach} + {foreach key=key2 item=field2 from=$item.$key}{$field2}
{/foreach} {else} {$linktext} {/if}