]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
show selection in settings menu
authorEvan Prodromou <evan@prodromou.name>
Wed, 11 Jun 2008 16:05:20 +0000 (12:05 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 11 Jun 2008 16:05:20 +0000 (12:05 -0400)
darcs-hash:20080611160520-84dde-6e5b2d12cd9f0f601ffd57bc68246df738d6145a.gz

lib/settingsaction.php

index 5700014beceb163f214e731a3ca40566705c7a1b..8f3b1e6be8631c352d2db9588163b8039c1ef495 100644 (file)
@@ -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');
        }
 }