diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-06-16 11:24:45 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-06-16 11:24:45 +0200 |
commit | 7e309b872f9a60ecb5ac975fdd2f4f89b508aba8 (patch) | |
tree | 98cec7c5bd3c7ef887dbbd50881f35e5bff04509 /plugins/password | |
parent | ebc9877defcfa41c8705989286788253086f3958 (diff) |
Add title attribute to settings menu
Diffstat (limited to 'plugins/password')
-rw-r--r-- | plugins/password/localization/en_US.inc | 2 | ||||
-rw-r--r-- | plugins/password/password.php | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/plugins/password/localization/en_US.inc b/plugins/password/localization/en_US.inc index 94475ce36..278a20374 100644 --- a/plugins/password/localization/en_US.inc +++ b/plugins/password/localization/en_US.inc @@ -17,7 +17,7 @@ */ $labels = array(); -$labels['changepasswd'] = 'Change Password'; +$labels['changepasswd'] = 'Change password'; $labels['curpasswd'] = 'Current Password:'; $labels['newpasswd'] = 'New Password:'; $labels['confpasswd'] = 'Confirm New Password:'; diff --git a/plugins/password/password.php b/plugins/password/password.php index 9bf020176..6c599bb4b 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -75,7 +75,14 @@ class password extends rcube_plugin function settings_actions($args) { // register as settings action - $args['actions'][] = array('action' => 'plugin.password', 'class' => 'password', 'label' => 'password', 'domain' => 'password'); + $args['actions'][] = array( + 'action' => 'plugin.password', + 'class' => 'password', + 'label' => 'password', + 'title' => 'changepasswd', + 'domain' => 'password', + ); + return $args; } |