[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 /**************************************************************************\ 3 * eGroupWare * 4 * http://www.egroupware.org * 5 * The file written by Edo van Bruggen and Rob van Kraanen * 6 * <info@idots2.org>* * 7 * -------------------------------------------- * 8 * This program is free software; you can redistribute it and/or modify it * 9 * under the terms of the GNU General Public License as published by the * 10 * Free Software Foundation; either version 2 of the License. * 11 \**************************************************************************/ 12 13 /* $Id: notifyxml.php 20295 2006-02-15 12:31:25Z $ */ 14 15 $egw_info = array(); 16 $GLOBALS['egw_info']['flags'] = array( 17 'noheader' => True, 18 'nonavbar' => True, 19 'disable_Template_class' => True, 20 'currentapp' => 'notifywindow' 21 ); 22 include('header.inc.php'); 23 header("Content-type: text/xml"); 24 25 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); 26 header("Last-Modified: " . gmdate( "D, d M Y H:i:s") . "GMT"); 27 header("Cache-Control: no-cache, must-revalidate"); 28 header("Pragma: no-cache"); 29 30 echo '<?xml version="1.0" encoding="UTF-8" 31 standalone="yes"?>'; 32 $apps = $GLOBALS['egw']->hooks->process('notify'); 33 echo "\r\n<response>\r\n"; 34 foreach($apps as $app => $message) 35 { 36 if($message != '') 37 { 38 $title = $GLOBALS['egw_info']['apps'][$app]['title']; 39 40 echo " <title>".$title."</title> 41 <url>".$GLOBALS['egw']->link("/".$app."/index.php")."</url> 42 <message>".$message." </message>\r\n"; 43 } 44 } 45 echo "</response>"; 46 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |