summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2010-03-03 21:25:52 +0000
committerChristian Fowler <spider@viovio.com>2010-03-03 21:25:52 +0000
commitafddab86926764d01cd305e8c5b38bb95d55c0dd (patch)
tree765370eef487e6fa90030b89293f2fb9a432d794 /templates
parent289fc885814b3c6f809cf405ab5113101dac5d26 (diff)
downloadnewsletters-afddab86926764d01cd305e8c5b38bb95d55c0dd.tar.gz
newsletters-afddab86926764d01cd305e8c5b38bb95d55c0dd.tar.bz2
newsletters-afddab86926764d01cd305e8c5b38bb95d55c0dd.zip
get unsubscribe_all button to work, clean up logic to use BitNewsletterMailer to handle subscriptions
Diffstat (limited to 'templates')
-rw-r--r--templates/user_register_inc.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user_register_inc.tpl b/templates/user_register_inc.tpl
index a2632fe..6bc1737 100644
--- a/templates/user_register_inc.tpl
+++ b/templates/user_register_inc.tpl
@@ -22,7 +22,7 @@ for (var i = 0; i < checkboxes.length; i++){
<input type="checkbox" checked="true" name="subscribe[]" onclick="document.getElementById('unsubscribeall').checked=false;" value="{$newsletter.nl_id}"/><strong>{$newsletter.title}</strong><br/>
{/foreach}
{formhelp note="Uncheck the boxes to opt-out of the specified newsletter."}
- <input id="unsubscribeall" type="checkbox" onclick="unsubscribe_all();"/><strong>Unsubscribe All</strong><br/>
+ <input type="checkbox" name="unsub_all" value="y" id="unsubscribeall" onclick="unsubscribe_all();"/><strong>Unsubscribe All</strong><br/>
{formhelp note="Check this box to unsubscribe from all of the above newsletters."}
{/forminput}
</div>