This commit is contained in:
ceb 2003-04-24 01:20:52 +00:00
parent 26897b98c7
commit 91757ddabd
3 changed files with 1 additions and 22 deletions

View File

@ -27,7 +27,6 @@
function mainscreen()
{
$GLOBALS['phpgw_info']['flags']['java_script_url'] = 'default/app_scripts.js';
$GLOBALS['phpgw']->xslttpl->add_file('app_data');
$GLOBALS['phpgw']->hooks->process('admin');

View File

@ -67,7 +67,7 @@
if (! $GLOBALS['phpgw']->acl->check('info_access',1,'admin'))
{
$file['phpInfo'] = "javascript:openwindow('" . $GLOBALS['phpgw']->link('/admin/phpinfo.php') . "')"; //$GLOBALS['phpgw']->link('/admin/phpinfo.php');
$file['phpInfo'] = "javascript:openwindow('" . $GLOBALS['phpgw']->link('/admin/phpinfo.php') . "','700','600')";
}
/* Do not modify below this line */

View File

@ -1,20 +0,0 @@
var phpinfo;
function openwindow(url)
{
if (phpinfo)
{
if (phpinfo.closed)
{
phpinfo.stop;
phpinfo.close;
}
}
phpinfo = window.open(url, "phpinfoWindow","width=700,height=600,location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=yes,status=no");
if (phpinfo.opener == null)
{
phpinfo.opener = window;
}
}