added password changing tool
This commit is contained in:
parent
450ddc8ea3
commit
4b985473d8
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue