From dd5e5df034969aabda4f9962cd8947833b1382df Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Wed, 3 Mar 2010 21:28:44 +0000 Subject: only show unsubscribe all if there is more than one newsletter, tweaking formhelp note --- templates/user_register_inc.tpl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/user_register_inc.tpl b/templates/user_register_inc.tpl index 6bc1737..f78171c 100644 --- a/templates/user_register_inc.tpl +++ b/templates/user_register_inc.tpl @@ -21,9 +21,11 @@ for (var i = 0; i < checkboxes.length; i++){ {foreach from=$newsletters item='newsletter'} {$newsletter.title}
{/foreach} - {formhelp note="Uncheck the boxes to opt-out of the specified newsletter."} - Unsubscribe All
- {formhelp note="Check this box to unsubscribe from all of the above newsletters."} + {formhelp note="Uncheck the box to opt-out of the specified newsletter."} + {if count($newsletters) > 1} + Unsubscribe All
+ {formhelp note="Check this box to unsubscribe from all of the above newsletters."} + {/if} {/forminput} {/if} -- cgit v1.3