Add title attribute to settings menu
| | |
| | | */ |
| | | |
| | | $labels = array(); |
| | | $labels['changepasswd'] = 'Change Password'; |
| | | $labels['changepasswd'] = 'Change password'; |
| | | $labels['curpasswd'] = 'Current Password:'; |
| | | $labels['newpasswd'] = 'New Password:'; |
| | | $labels['confpasswd'] = 'Confirm New Password:'; |
| | |
| | | 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; |
| | | } |
| | | |