mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
globals
This commit is contained in:
parent
d2fa0405b6
commit
913baf2bda
@ -21,14 +21,14 @@
|
|||||||
$login = 'anonymous';
|
$login = 'anonymous';
|
||||||
$passwd = 'anonymous';
|
$passwd = 'anonymous';
|
||||||
|
|
||||||
$phpgw_info['flags'] = array(
|
$GLOBALS['phpgw_info']['flags'] = array(
|
||||||
'disable_template_class' => True,
|
'disable_Template_class' => True,
|
||||||
'login' => True,
|
'login' => True,
|
||||||
'currentapp' => 'login',
|
'currentapp' => 'login',
|
||||||
'noheader' => True);
|
'noheader' => True
|
||||||
|
);
|
||||||
include('./header.inc.php');
|
include('./header.inc.php');
|
||||||
|
|
||||||
$sessionid = $phpgw->session->create($login,$passwd);
|
$sessionid = $GLOBALS['phpgw']->session->create($login,$passwd);
|
||||||
$phpgw->redirect($phpgw->link('/index.php'));
|
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php'));
|
||||||
?>
|
?>
|
11
notify.php
11
notify.php
@ -11,7 +11,8 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$phpgw_info['flags'] = array(
|
$phpgw_info = array();
|
||||||
|
$GLOBALS['phpgw_info']['flags'] = array(
|
||||||
'noheader' => True,
|
'noheader' => True,
|
||||||
'nonavbar' => True,
|
'nonavbar' => True,
|
||||||
'disable_Template_class' => True,
|
'disable_Template_class' => True,
|
||||||
@ -28,16 +29,16 @@
|
|||||||
<!-- Activate Cloaking Device
|
<!-- Activate Cloaking Device
|
||||||
function CheckEmail()
|
function CheckEmail()
|
||||||
{
|
{
|
||||||
window.opener.document.location.href="<?php echo $phpgw->link('/index.php','menuaction=email.uiindex.index'); ?>";
|
window.opener.document.location.href="<?php echo $GLOBALS['phpgw']->link('/index.php','menuaction=email.uiindex.index'); ?>";
|
||||||
}
|
}
|
||||||
//-->
|
//-->
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="<?php echo $phpgw_info['theme']['bg_color']; ?>" alink="blue" vlink="blue" link="blue">
|
<body bgcolor="<?php echo $GLOBALS['phpgw_info']['theme']['bg_color']; ?>" alink="blue" vlink="blue" link="blue">
|
||||||
<table>
|
<table>
|
||||||
<tr><td><a href="<?php echo $phpgw->link('/notify.php'); ?>">Check Now</a></td></tr>
|
<tr><td><a href="<?php echo $GLOBALS['phpgw']->link('/notify.php'); ?>">Check Now</a></td></tr>
|
||||||
<?php
|
<?php
|
||||||
$phpgw->common->hook('notifywindow',array('email'));
|
$GLOBALS['phpgw']->common->hook('notifywindow',array('email'));
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
</body>
|
</body>
|
||||||
|
@ -11,9 +11,15 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "notifywindow");
|
$phpgw_info = array();
|
||||||
include("header.inc.php");
|
$GLOBALS['phpgw_info']['flags'] = array(
|
||||||
|
'noheader' => True,
|
||||||
|
'nonavbar' => True,
|
||||||
|
'currentapp' => 'notifywindow'
|
||||||
|
);
|
||||||
|
include('./header.inc.php');
|
||||||
|
|
||||||
echo '<html><body>';
|
echo '<html><body>';
|
||||||
$phpgw->common->hook("simple",array("email"));
|
$GLOBALS['phpgw']->common->hook('simple',array('email'));
|
||||||
echo '</body></html>';
|
echo '</body></html>';
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user