summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-01-29 23:00:42 +0000
committerChristian Fowler <spider@viovio.com>2006-01-29 23:00:42 +0000
commit4c708caa9ea6ed60ddbac44bee93222ee71569d7 (patch)
tree142d1a603ea19219d94b20a53eb748b9755f1b8a /templates
parent9da560dac007f09bf0300864d1c96a811972c5cb (diff)
downloadmessages-4c708caa9ea6ed60ddbac44bee93222ee71569d7.tar.gz
messages-4c708caa9ea6ed60ddbac44bee93222ee71569d7.tar.bz2
messages-4c708caa9ea6ed60ddbac44bee93222ee71569d7.zip
Convert tiki_user_preferences to liberty_content_prefs. Replace all references of mUserPrefs with getPreference/setPreference/storePreference access methodspre_table_detikification
Diffstat (limited to 'templates')
-rw-r--r--templates/header_inc.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl
index 43facd5..5481685 100644
--- a/templates/header_inc.tpl
+++ b/templates/header_inc.tpl
@@ -1,4 +1,4 @@
-{if $unreadMsgs and $gBitUser->mUserPrefs.message_alert eq 'y'}
+{if $unreadMsgs and $gBitUser->getPreference('message_alert')}
<script type="text/javascript">
var redirect = confirm( '{tr}You have {$unreadMsgs} message(s) waiting for you in your personal message box. Click OK to view your messages.{/tr}' );
if( redirect == true && !getCookie( 'message_alert_sent' ) ) {ldelim}