From e1a34401452f222ea575731faedddedd002799dc Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Thu, 19 Sep 2013 18:56:35 +0200 Subject: [PATCH] // Add array for hint and desc for options.tpl --- .../template/helpers/options/options.tpl | 49 ++++++++++++++++++- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/default/template/helpers/options/options.tpl b/admin-dev/themes/default/template/helpers/options/options.tpl index 5d6ff72e1..935f349e9 100644 --- a/admin-dev/themes/default/template/helpers/options/options.tpl +++ b/admin-dev/themes/default/template/helpers/options/options.tpl @@ -74,9 +74,37 @@ {/if} {block name="label"} + {if isset($input.hint)} + + {/if} {if isset($field['title']) && isset($field['hint'])} @@ -281,13 +309,30 @@ {/if} - + {if isset($field['desc']) && !empty($field['desc'])} +
+

+ {if is_array($field['desc'])} + {foreach $field['desc'] as $p} + {if is_array($p)} + {$p.text}
+ {else} + {$p}
+ {/if} + {/foreach} + {else} + {$field['desc']} + {/if} +

+
+ {/if} {/block}{* end block input *} {if $field['is_invisible']}

{l s='You can\'t change the value of this configuration field in the context of this shop.'}

{/if} + {/block}{* end block field *}