summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlezvous.ca>2008-06-26 14:27:05 -0400
committerEvan Prodromou <evan@controlezvous.ca>2008-06-26 14:27:05 -0400
commitf5caccc8276252edcffa7fb3dc778cba7bc50d0a (patch)
tree19d617397edaf33cd88becf2713b3f19acc24c4b /actions
parent1152a0f6803291db3d905aed47989bcccf9f9f72 (diff)
show checkbox as checked or not
darcs-hash:20080626182705-34904-893d72f480c330beb2d8f871da0d2cd9b902ffbf.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/imsettings.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/actions/imsettings.php b/actions/imsettings.php
index a5e9be307..18666e170 100644
--- a/actions/imsettings.php
+++ b/actions/imsettings.php
@@ -79,9 +79,11 @@ class ImsettingsAction extends SettingsAction {
common_element('h2', NULL, _t('Preferences'));
common_checkbox('jabbernotify',
- _t('Send me notices through Jabber/GTalk.'));
+ _t('Send me notices through Jabber/GTalk.'),
+ $user->jabbernotify);
common_checkbox('updatefrompresence',
- _t('Post a notice when my Jabber/GTalk status changes.'));
+ _t('Post a notice when my Jabber/GTalk status changes.'),
+ $user->updatefrompresence);
common_submit('save', _t('Save'));
common_element_end('form');