diff --git a/lam/lib/types/user.inc b/lam/lib/types/user.inc index f1909245..7434cdf2 100644 --- a/lam/lib/types/user.inc +++ b/lam/lib/types/user.inc @@ -240,6 +240,21 @@ class lamUserList extends lamList { echo "

\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); + } + } }