From 0185132daffa519c2534f60264cbc6b2bf8dec3b Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Wed, 25 Apr 2007 22:07:30 +0000 Subject: clean up transaction blocks, move smarty assigns around, update url_code / trackCode --- templates/unsubscribe_inc.tpl | 6 ++---- templates/view_edition.tpl | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/unsubscribe_inc.tpl b/templates/unsubscribe_inc.tpl index 1454c8f..638310a 100644 --- a/templates/unsubscribe_inc.tpl +++ b/templates/unsubscribe_inc.tpl @@ -1,4 +1,2 @@ - -{$smarty.const.NEWSLETTERS_PKG_URI}?sub={$url_code}

-{tr}You have received this message because you are registered at{/tr} {$gBitSystem->getConfig('site_title', $smarty.server.HTTP_HOST)}.
-{tr}You can always cancel your subscription using:{/tr} {$smarty.const.NEWSLETTERS_PKG_URI}sub.php?c={$url_code}
+{tr}You have received this message because you are registered at{/tr} {$gBitSystem->getConfig('site_title', $smarty.server.HTTP_HOST)}.
+{tr}You can always cancel your subscription using:{/tr} {$smarty.const.NEWSLETTERS_PKG_URI}sub.php?c={$url_code} diff --git a/templates/view_edition.tpl b/templates/view_edition.tpl index 8e271e6..f8639ba 100644 --- a/templates/view_edition.tpl +++ b/templates/view_edition.tpl @@ -33,9 +33,8 @@ {if $sending}
{include file="bitpackage:newsletters/unsubscribe_inc.tpl"} -tcode {$trackCode} - {if $trackCode} - + {if $url_code} + {/if}
{/if} -- cgit v1.3