Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?phpinclude_once 'ezmlm-php-2.0/ezmlm.php' ;// Parametrage de la liste$info = new ezmlm_author();if (!$info) return 'Les fichiers de la liste ne sont pas visible sur le serveur' ;$info->forcehref = $url;$info->listdir = '/home/vpopmail/domains/'.$domaine.'/'.$liste ;$info->listname = $liste;$info->listdomain = $domaine ;ob_start() ;if (!$info->display($actionargs[0])) {if (!$info) return 'Les fichiers de la liste ne sont pas visible sur le serveur' ;}$html = ob_get_contents() ;ob_end_clean() ;include_once 'XML/Util.php' ;$xml = XML_Util::getXMLDeclaration('1.0', 'ISO-8859-15', 'no') ;$xml .= XML_Util::createStartElement ('ezmlm_messages_auteur', array('domaine' => $domaine, 'liste' => $liste, 'langue' => $langue )) ;$xml .= '<![CDATA[ '.$html.']]>';$xml .= XML_Util::createEndElement('ezmlm_messages_auteur') ;header ('Content-type: text/xml');echo $xml ;?>