summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2005-12-29 15:31:32 +0000
committerChristian Fowler <spider@viovio.com>2005-12-29 15:31:32 +0000
commit4ef765eb33d8121228668bb4124a52c40ab5b980 (patch)
treecb6b489545ab986ea3ffa1a243cc66db7e3003c6 /templates
parent522af529d05393e3e369fc6e4d498ca5f172a8a9 (diff)
downloadnewsletters-4ef765eb33d8121228668bb4124a52c40ab5b980.tar.gz
newsletters-4ef765eb33d8121228668bb4124a52c40ab5b980.tar.bz2
newsletters-4ef765eb33d8121228668bb4124a52c40ab5b980.zip
fix unsubscribe_all
Diffstat (limited to 'templates')
-rw-r--r--templates/user_subscriptions.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user_subscriptions.tpl b/templates/user_subscriptions.tpl
index 93afaed..08e7058 100644
--- a/templates/user_subscriptions.tpl
+++ b/templates/user_subscriptions.tpl
@@ -31,7 +31,7 @@
{formlabel label="Subscriptions"}
{forminput}
{foreach from=$newsletters key=nlId item=nl}
- <input type="checkbox" name="nl_content_id[]" value="{$nlId}" {if !$unsubs.$nlId}checked="checked"{/if}/> <a href="{$nl.display_url}"/>{$nl.title}</a> <br/>
+ <input type="checkbox" name="nl_content_id[]" value="{$nlId}" {if !$unsubs.$nlId && !$subInfo.unsubscribe_all}checked="checked"{/if}/> <a href="{$nl.display_url}"/>{$nl.title}</a> <br/>
{foreachelse}
{tr}No newsletters were found{/tr}
{/foreach}