mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
removed since 1.6 not used notify*.php files
This commit is contained in:
parent
0ca03d3af1
commit
d0d44d07d4
40
notify.php
40
notify.php
@ -1,40 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**************************************************************************\
|
|
||||||
* eGroupWare *
|
|
||||||
* http://www.egroupware.org *
|
|
||||||
* -------------------------------------------- *
|
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
||||||
* option) any later version. *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
$egw_info = array();
|
|
||||||
$GLOBALS['egw_info']['flags'] = array(
|
|
||||||
'noheader' => True,
|
|
||||||
'nonavbar' => True,
|
|
||||||
'disable_Template_class' => True,
|
|
||||||
'currentapp' => 'notifywindow'
|
|
||||||
);
|
|
||||||
include('./header.inc.php');
|
|
||||||
$charSet = $GLOBALS['egw']->translation->charset();
|
|
||||||
?>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Refresh" content="300">
|
|
||||||
<?php
|
|
||||||
print "<meta http-equiv=\"content-type\" content=\"text/html; charset=$charSet\" />";
|
|
||||||
?>
|
|
||||||
<title>Notify Window</title>
|
|
||||||
</head>
|
|
||||||
<body bgcolor="<?php echo $GLOBALS['egw_info']['theme']['bg_color']; ?>" alink="blue" vlink="blue" link="blue">
|
|
||||||
<table>
|
|
||||||
<tr><td><a href="<?php echo $GLOBALS['egw']->link('/notify.php'); ?>"><?php print lang('Check Now'); ?></a></td></tr>
|
|
||||||
<?php
|
|
||||||
$GLOBALS['egw']->hooks->process('notifywindow');
|
|
||||||
?>
|
|
||||||
</table>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,26 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**************************************************************************\
|
|
||||||
* eGroupWare *
|
|
||||||
* http://www.egroupware.org *
|
|
||||||
* -------------------------------------------- *
|
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
||||||
* option) any later version. *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
$egw_info = array();
|
|
||||||
$GLOBALS['egw_info']['flags'] = array(
|
|
||||||
'noheader' => True,
|
|
||||||
'nonavbar' => True,
|
|
||||||
'disable_Template_class' => True,
|
|
||||||
'currentapp' => 'notifywindow'
|
|
||||||
);
|
|
||||||
include('./header.inc.php');
|
|
||||||
|
|
||||||
echo '<html><body>';
|
|
||||||
$GLOBALS['egw']->hooks->process('notifywindow_simple',array('email'));
|
|
||||||
echo '</body></html>';
|
|
||||||
?>
|
|
@ -1,46 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**************************************************************************\
|
|
||||||
* eGroupWare *
|
|
||||||
* http://www.egroupware.org *
|
|
||||||
* The file written by Edo van Bruggen and Rob van Kraanen *
|
|
||||||
* <info@idots2.org>* *
|
|
||||||
* -------------------------------------------- *
|
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; either version 2 of the License. *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
$egw_info = array();
|
|
||||||
$GLOBALS['egw_info']['flags'] = array(
|
|
||||||
'noheader' => True,
|
|
||||||
'nonavbar' => True,
|
|
||||||
'disable_Template_class' => True,
|
|
||||||
'currentapp' => 'notifywindow'
|
|
||||||
);
|
|
||||||
include('./header.inc.php');
|
|
||||||
header("Content-type: text/xml");
|
|
||||||
|
|
||||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
|
||||||
header("Last-Modified: " . gmdate( "D, d M Y H:i:s") . "GMT");
|
|
||||||
header("Cache-Control: no-cache, must-revalidate");
|
|
||||||
header("Pragma: no-cache");
|
|
||||||
|
|
||||||
echo '<?xml version="1.0" encoding="UTF-8"
|
|
||||||
standalone="yes"?>';
|
|
||||||
$apps = $GLOBALS['egw']->hooks->process('notify');
|
|
||||||
echo "\r\n<response>\r\n";
|
|
||||||
foreach($apps as $app => $message)
|
|
||||||
{
|
|
||||||
if($message != '')
|
|
||||||
{
|
|
||||||
$title = $GLOBALS['egw_info']['apps'][$app]['title'];
|
|
||||||
|
|
||||||
echo " <title>".$title."</title>
|
|
||||||
<url>".$GLOBALS['egw']->link("/".$app."/index.php")."</url>
|
|
||||||
<message>".$message." </message>\r\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
echo "</response>";
|
|
||||||
?>
|
|
Loading…
Reference in New Issue
Block a user