From a55f830acbb3ded3ef3e457d28acd5ccb03e33fb Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Wed, 1 Mar 2006 20:16:18 +0000 Subject: move BitSystem:: preferences methods to get/set/load/storeConfig to avoid conflict with new content preferences --- templates/admin_newsletters.tpl | 4 ++-- templates/edit_edition.tpl | 2 +- templates/unsubscribe_inc.tpl | 2 +- templates/user_subscriptions.tpl | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/admin_newsletters.tpl b/templates/admin_newsletters.tpl index 077d843..85ed020 100644 --- a/templates/admin_newsletters.tpl +++ b/templates/admin_newsletters.tpl @@ -2,7 +2,7 @@ {form legend="Newsletter Features"} - {if !$gBitSystem->getPreference( 'feature_server_name' )} + {if !$gBitSystem->getConfig( 'feature_server_name' )} {formfeedback error="Server name is not defined!"} {tr}You must define the server name for proper background operation of the mail script.{/tr} {/if} @@ -11,7 +11,7 @@
{formlabel label=`$output.label` for=$item} {forminput} - + {formhelp note=`$output.note` page=`$output.page`} {/forminput}
diff --git a/templates/edit_edition.tpl b/templates/edit_edition.tpl index d6ecbb9..b314112 100644 --- a/templates/edit_edition.tpl +++ b/templates/edit_edition.tpl @@ -70,7 +70,7 @@
{formlabel label="Reply-To" for="replyto"} {forminput} - + {formhelp note="This is the email address to which any replies will be sent."} {/forminput}
diff --git a/templates/unsubscribe_inc.tpl b/templates/unsubscribe_inc.tpl index 4a91bff..2900d44 100644 --- a/templates/unsubscribe_inc.tpl +++ b/templates/unsubscribe_inc.tpl @@ -1,2 +1,2 @@ -{tr}You have received this message because you are registered at{/tr} {$gBitSystem->getPreference('siteTitle', $smarty.server.HTTP_HOST)}. {tr}You can always cancel your subscription using:{/tr}
+{tr}You have received this message because you are registered at{/tr} {$gBitSystem->getConfig('siteTitle', $smarty.server.HTTP_HOST)}. {tr}You can always cancel your subscription using:{/tr}
{$smarty.const.NEWSLETTERS_PKG_URI}?sub={$url_code} diff --git a/templates/user_subscriptions.tpl b/templates/user_subscriptions.tpl index 0533fa9..fd034d3 100644 --- a/templates/user_subscriptions.tpl +++ b/templates/user_subscriptions.tpl @@ -40,7 +40,7 @@
{formlabel label="Permanent Unsubscribe"} {forminput} - {tr}Remove myself from all lists, and receive no further mailings from{/tr} {$gBitSystem->getPreference('siteTitle','this site')}.
+ {tr}Remove myself from all lists, and receive no further mailings from{/tr} {$gBitSystem->getConfig('siteTitle','this site')}.
{/forminput}
-- cgit v1.3