From: Jakob Haufe Date: Wed, 28 Nov 2012 22:51:00 +0000 (+0100) Subject: Add name to counter X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff1439c9237bf8fb6296b2c73c212b0aeace6551;p=contagged Add name to counter We are going to need several counters. Add a name to the existing one so we can distinguish them. --- diff --git a/templates/entry_edit.tpl b/templates/entry_edit.tpl index ddad5dc..ccda0bb 100644 --- a/templates/entry_edit.tpl +++ b/templates/entry_edit.tpl @@ -225,16 +225,16 @@ {if $fields._mail} {foreach from=$entry.mail|smarty:nodefaults item=mail} - {$lang.mail} {counter}: + {$lang.mail} {counter name=mail}: {/foreach} - {$lang.mail} {counter}: + {$lang.mail} {counter name=mail}: - {$lang.mail} {counter}: + {$lang.mail} {counter name=mail}: {/if}