This commit is contained in:
Miles Lott 2001-12-24 05:04:23 +00:00
parent d2fa0405b6
commit 913baf2bda
3 changed files with 25 additions and 18 deletions

View File

@ -21,14 +21,14 @@
$login = 'anonymous';
$passwd = 'anonymous';
$phpgw_info['flags'] = array(
'disable_template_class' => True,
$GLOBALS['phpgw_info']['flags'] = array(
'disable_Template_class' => True,
'login' => True,
'currentapp' => 'login',
'noheader' => True);
'noheader' => True
);
include('./header.inc.php');
$sessionid = $phpgw->session->create($login,$passwd);
$phpgw->redirect($phpgw->link('/index.php'));
$sessionid = $GLOBALS['phpgw']->session->create($login,$passwd);
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php'));
?>

View File

@ -11,7 +11,8 @@
/* $Id$ */
$phpgw_info['flags'] = array(
$phpgw_info = array();
$GLOBALS['phpgw_info']['flags'] = array(
'noheader' => True,
'nonavbar' => True,
'disable_Template_class' => True,
@ -28,16 +29,16 @@
<!-- Activate Cloaking Device
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>
</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>
<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
$phpgw->common->hook('notifywindow',array('email'));
$GLOBALS['phpgw']->common->hook('notifywindow',array('email'));
?>
</table>
</body>

View File

@ -11,9 +11,15 @@
/* $Id$ */
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "notifywindow");
include("header.inc.php");
$phpgw_info = array();
$GLOBALS['phpgw_info']['flags'] = array(
'noheader' => True,
'nonavbar' => True,
'currentapp' => 'notifywindow'
);
include('./header.inc.php');
echo '<html><body>';
$phpgw->common->hook("simple",array("email"));
$GLOBALS['phpgw']->common->hook('simple',array('email'));
echo '</body></html>';
?>