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