diff options
| author | Christian Fowler <spider@viovio.com> | 2007-04-25 22:07:30 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-04-25 22:07:30 +0000 |
| commit | 0185132daffa519c2534f60264cbc6b2bf8dec3b (patch) | |
| tree | 1271bd1dc093bcb2790e6fc0be1d416e9fc2c876 /templates | |
| parent | 703b815874de151b2ef97dac6ad3114602cff0ca (diff) | |
| download | newsletters-0185132daffa519c2534f60264cbc6b2bf8dec3b.tar.gz newsletters-0185132daffa519c2534f60264cbc6b2bf8dec3b.tar.bz2 newsletters-0185132daffa519c2534f60264cbc6b2bf8dec3b.zip | |
clean up transaction blocks, move smarty assigns around, update url_code / trackCode
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/unsubscribe_inc.tpl | 6 | ||||
| -rw-r--r-- | templates/view_edition.tpl | 5 |
2 files changed, 4 insertions, 7 deletions
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 @@ - -<a href="{$smarty.const.NEWSLETTERS_PKG_URI}?unsubscribe={$code}">{$smarty.const.NEWSLETTERS_PKG_URI}?sub={$url_code}</a></p> -<small>{tr}You have received this message because you are registered at{/tr} <a href="{$smarty.const.BIT_BASE_URI}">{$gBitSystem->getConfig('site_title', $smarty.server.HTTP_HOST)}</a>.<br /> -{tr}You can always cancel your subscription using:{/tr} <a href="{$smarty.const.NEWSLETTERS_PKG_URI}sub.php?c={$url_code}">{$smarty.const.NEWSLETTERS_PKG_URI}sub.php?c={$url_code}</a></small> +{tr}You have received this message because you are registered at{/tr} <a href="{$smarty.const.BIT_BASE_URI}">{$gBitSystem->getConfig('site_title', $smarty.server.HTTP_HOST)}</a>.<br /> +{tr}You can always cancel your subscription using:{/tr} <a href="{$smarty.const.NEWSLETTERS_PKG_URI}sub.php?c={$url_code}">{$smarty.const.NEWSLETTERS_PKG_URI}sub.php?c={$url_code}</a> 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} <div class="subscriptioninfo"> {include file="bitpackage:newsletters/unsubscribe_inc.tpl"} -tcode {$trackCode} - {if $trackCode} - <img src="{$smarty.const.NEWSLETTERS_PKG_URI}track.php?sub={$trackCode}" alt="" /> + {if $url_code} + <img src="{$smarty.const.NEWSLETTERS_PKG_URI}track.php?sub={$url_code}" alt="" /> {/if} </div> {/if} |
