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

@ -240,6 +240,21 @@ class lamUserList extends lamList {
echo "</p>\n";
}
}
/**
* 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);
}
}
}