summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2005-12-28 16:01:51 +0000
committerChristian Fowler <spider@viovio.com>2005-12-28 16:01:51 +0000
commitfd43e1191a1b9e2a87d59e2772c5fd9ef0cd7bcd (patch)
tree332128f276d494292c5dfb908e03e6dfda147ca8 /templates
parent24f652cebb911f360f463ac8bb3d4dbf99a19bc8 (diff)
downloadnewsletters-fd43e1191a1b9e2a87d59e2772c5fd9ef0cd7bcd.tar.gz
newsletters-fd43e1191a1b9e2a87d59e2772c5fd9ef0cd7bcd.tar.bz2
newsletters-fd43e1191a1b9e2a87d59e2772c5fd9ef0cd7bcd.zip
more unsub changes and updates. getting closer
Diffstat (limited to 'templates')
-rw-r--r--templates/user_subscriptions.tpl17
1 files changed, 15 insertions, 2 deletions
diff --git a/templates/user_subscriptions.tpl b/templates/user_subscriptions.tpl
index 6f3e617..8c24ea3 100644
--- a/templates/user_subscriptions.tpl
+++ b/templates/user_subscriptions.tpl
@@ -8,6 +8,15 @@
{if $subInfo}
{formfeedback success=$success error=$gContent->mErrors}
{form enctype="multipart/form-data" id="editpageform"}
+ <input type="hidden" name="unsub_content_id" value="{$subInfo.content_id}" />
+ <div class="row">
+<em>
+ {formlabel label="In Response To"}
+ {forminput}
+ {tr}{$subInfo.content_description}{/tr}: {$subInfo.title}
+ {/forminput}
+</em>
+ </div>
<div class="row">
{formlabel label="User Information"}
{forminput}
@@ -18,13 +27,17 @@
<div class="row">
{formlabel label="Subscriptions"}
{forminput}
- <input type="checkbox" name="nl_content_id" value="{$subInfo.nl_content_id}" /> {$subInfo.title} </br>
+ {foreach from=$newsletters key=nlId item=nl}
+ <input type="checkbox" name="nl_content_id[]" value="{$nlId}" {if !$unsubs.$nlId}checked="checked"{/if}/> {$nl.title} <br/>
+ {foreachelse}
+ {tr}No newsletters were found{/tr}
+ {/foreach}
{/forminput}
</div>
<div class="row">
{formlabel label="Permanent Unsubscribe"}
{forminput}
- <input type="checkbox" name="unsubscribe_all" value="{$subInfo.nl_content_id}" {if $subInfo.unsubscribe_all}checked="checked"{/if} /> {tr}Remove myself from all lists, and receive no further mailings from{/tr} {$gBitSystem->getPreference('siteTitle','this site')}.</br>
+ <input type="checkbox" name="unsubscribe_all" value="y" {if $subInfo.unsubscribe_all}checked="checked"{/if} /> {tr}Remove myself from all lists, and receive no further mailings from{/tr} {$gBitSystem->getPreference('siteTitle','this site')}.</br>
{/forminput}
</div>
<div class="row submit">