added password changing tool

This commit is contained in:
Roland Gruber 2007-11-05 18:15:26 +00:00
parent 450ddc8ea3
commit 4b985473d8
1 changed files with 15 additions and 0 deletions

View File

@ -241,6 +241,21 @@ class lamUserList extends lamList {
} }
} }
/**
* Returns a list of lamListTool objects to display next to the edit/delete buttons.
*
* @return lamListTool[] tools
*/
protected function getAdditionalTools() {
if (!isLAMProVersion()) {
return array();
}
else {
$passwordTool = new lamListTool(_('Change password'), 'key.png', 'changePassword.php');
return array($passwordTool);
}
}
} }
?> ?>