summaryrefslogtreecommitdiff
path: root/lib/settingsaction.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-11 12:05:20 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-11 12:05:20 -0400
commitf406ba4501ec1ba71a48a77903579033361b807f (patch)
tree9e7cd3c643af010d23ecbe21ebf38245b0fa6e7d /lib/settingsaction.php
parentca4d43a98ff955ccee6d0841fc68ac44c38a87a1 (diff)
show selection in settings menu
darcs-hash:20080611160520-84dde-6e5b2d12cd9f0f601ffd57bc68246df738d6145a.gz
Diffstat (limited to 'lib/settingsaction.php')
-rw-r--r--lib/settingsaction.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/settingsaction.php b/lib/settingsaction.php
index 5700014be..8f3b1e6be 100644
--- a/lib/settingsaction.php
+++ b/lib/settingsaction.php
@@ -50,13 +50,20 @@ class SettingsAction extends Action {
}
function settings_menu() {
+ $action = $this->trimmed('action');
common_element_start('ul', array('id' => 'nav_views'));
common_menu_item(common_local_url('profilesettings'),
- _t('Profile'));
+ _t('Profile'),
+ _t('Change your profile settings'),
+ $action == 'profilesettings');
common_menu_item(common_local_url('avatar'),
- _t('Avatar'));
+ _t('Avatar'),
+ _t('Upload a new profile image'),
+ $action == 'avatar');
common_menu_item(common_local_url('password'),
- _t('Password'));
+ _t('Password'),
+ _t('Change your password'),
+ $action == 'password');
common_element_end('ul');
}
}