mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 21:09:52 +01:00
update
This commit is contained in:
parent
26897b98c7
commit
91757ddabd
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
function mainscreen()
|
function mainscreen()
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw_info']['flags']['java_script_url'] = 'default/app_scripts.js';
|
|
||||||
$GLOBALS['phpgw']->xslttpl->add_file('app_data');
|
$GLOBALS['phpgw']->xslttpl->add_file('app_data');
|
||||||
$GLOBALS['phpgw']->hooks->process('admin');
|
$GLOBALS['phpgw']->hooks->process('admin');
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
if (! $GLOBALS['phpgw']->acl->check('info_access',1,'admin'))
|
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 */
|
/* Do not modify below this line */
|
||||||
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user