From a0b6dc0ea149aee4c405c76bef5679726a65aac7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 9 Apr 2015 07:05:08 +0000 Subject: [PATCH] fix width of phpinfo popup to not have a scrollbar under PHP 5.6 --- admin/inc/class.admin_hooks.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.admin_hooks.inc.php b/admin/inc/class.admin_hooks.inc.php index 63e40e52d0..a5515ca6ee 100644 --- a/admin/inc/class.admin_hooks.inc.php +++ b/admin/inc/class.admin_hooks.inc.php @@ -127,7 +127,7 @@ class admin_hooks if (! $GLOBALS['egw']->acl->check('info_access',1,'admin')) { - $file['phpInfo'] = "javascript:egw_openWindowCentered2('" . egw::link('/admin/phpinfo.php','',false) . "','phpinfoWindow',700,600,'yes')"; + $file['phpInfo'] = "javascript:egw.openPopup('" . egw::link('/admin/phpinfo.php','',false) . "',960,600,'phpinfoWindow')"; } $file['Admin queue and history'] = egw::link('/index.php','menuaction=admin.admin_cmds.index'); $file['Remote administration instances'] = egw::link('/index.php','menuaction=admin.admin_cmds.remotes');