* * * -------------------------------------------- * * 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 ''; $apps = $GLOBALS['egw']->hooks->process('notify'); echo "\r\n\r\n"; foreach($apps as $app => $message) { if($message != '') { $title = $GLOBALS['egw_info']['apps'][$app]['title']; echo " ".$title." ".$GLOBALS['egw']->link("/".$app."/index.php")." ".$message." \r\n"; } } echo ""; ?>