diff --git a/admin/inc/class.admin_hooks.inc.php b/admin/inc/class.admin_hooks.inc.php index 1e1d410151..c8c0b01193 100644 --- a/admin/inc/class.admin_hooks.inc.php +++ b/admin/inc/class.admin_hooks.inc.php @@ -71,7 +71,7 @@ class admin_hooks if (! $GLOBALS['egw']->acl->check('account_access',16,'admin')) { - $file['Bulk password reset'] = Egw::link('/index.php','menuaction=admin.admin_passwordreset.index&ajax=true'); + $file['Bulk changes'] = Egw::link('/index.php','menuaction=admin.admin_passwordreset.index&ajax=true'); $file['Application passwords'] = Egw::link('/index.php', 'menuaction=admin.EGroupware\\Admin\\Token.index&ajax=true'); } diff --git a/admin/inc/class.admin_passwordreset.inc.php b/admin/inc/class.admin_passwordreset.inc.php index 29782fd72b..60836ab2ee 100644 --- a/admin/inc/class.admin_passwordreset.inc.php +++ b/admin/inc/class.admin_passwordreset.inc.php @@ -68,7 +68,7 @@ class admin_passwordreset { // Setup if opened as a dialog - $content['dialog'] = $_GET['dialog']; + $content['dialog'] = $_GET['dialog'] ?? null; if($content['dialog'] && !$content['users'] && isset($_GET['ids'])) { $content['users'] = $_GET['ids']; @@ -181,7 +181,8 @@ class admin_passwordreset $tmpl = new Api\Etemplate('admin.passwordreset'); $tmpl->exec('admin.admin_passwordreset.index',$content,$sel_options,$readonlys,array( 'changed' => $changed, - )); + 'dialog' => $content['dialog'], + ), 2 * !empty($content['dialog'])); } protected function resetAccount($account_id, $content, $change_pw, $current_hash, &$msg, &$changed) @@ -420,4 +421,4 @@ class admin_passwordreset } } -} +} \ No newline at end of file diff --git a/admin/inc/class.admin_ui.inc.php b/admin/inc/class.admin_ui.inc.php index a05dcb56d1..84c1c562ef 100644 --- a/admin/inc/class.admin_ui.inc.php +++ b/admin/inc/class.admin_ui.inc.php @@ -179,7 +179,7 @@ class admin_ui 'group' => $group, 'nm_action' => 'popup', 'url' => 'menuaction=admin.admin_passwordreset.index&dialog=true&ids=$id&select_all=$select_all', - 'width' => 750, + 'width' => 800, 'height' => 600 ); // supporting both old way using $GLOBALS['menuData'] and new just returning data in hook diff --git a/admin/templates/default/passwordreset.xet b/admin/templates/default/passwordreset.xet index 6a0ea72173..2c1301a637 100644 --- a/admin/templates/default/passwordreset.xet +++ b/admin/templates/default/passwordreset.xet @@ -2,24 +2,22 @@