Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU General Public |
|
18 |
// | You should have received a copy of the GNU General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: messages_thread.php,v 1.4 2008-11-04 17:11:10 aperonnet Exp $
|
22 |
// CVS : $Id: messages_thread.php,v 1.5 2008-11-19 09:28:45 aperonnet Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application projet
|
24 |
* Application projet
|
25 |
*
|
25 |
*
|
26 |
* Renvoie les messages d un thread
|
26 |
* Renvoie les messages d un thread
|
27 |
*
|
27 |
*
|
28 |
*@package projet
|
28 |
*@package projet
|
29 |
//Auteur original :
|
29 |
//Auteur original :
|
30 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
30 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
31 |
*@copyright Tela-Botanica 2000-2008
|
31 |
*@copyright Tela-Botanica 2000-2008
|
32 |
*@version $Revision: 1.4 $
|
32 |
*@version $Revision: 1.5 $
|
33 |
// +------------------------------------------------------------------------------------------------------+
|
33 |
// +------------------------------------------------------------------------------------------------------+
|
34 |
*/
|
34 |
*/
|
35 |
include_once 'ezmlm-php-2.0/ezmlm.php' ;
|
35 |
include_once 'ezmlm-php-2.0/ezmlm.php' ;
|
Line 41... |
Line 41... |
41 |
$info->forcehref = $url;
|
41 |
$info->forcehref = $url;
|
42 |
$info->listdir = '/home/vpopmail/domains/'.$domaine.'/'.$liste ;
|
42 |
$info->listdir = '/home/vpopmail/domains/'.$domaine.'/'.$liste ;
|
43 |
$info->listname = $liste;
|
43 |
$info->listname = $liste;
|
44 |
$info->listdomain = $domaine ;
|
44 |
$info->listdomain = $domaine ;
|
45 |
$info->tempdir = '/home/vpopmail/www/tmp' ;
|
45 |
$info->tempdir = '/home/vpopmail/www/tmp' ;
|
46 |
ob_start() ;
|
- |
|
47 |
if (!$info->load($actionargs[0])) {
|
46 |
$html = $info->load($actionargs[0]) ;
|
- |
|
47 |
if (!$html) {
|
48 |
if (!$info) return 'Les fichiers de la liste ne sont pas visible sur le serveur' ;
|
48 |
if (!$info) return 'Les fichiers de la liste ne sont pas visible sur le serveur' ;
|
49 |
}
|
49 |
}
|
50 |
$html = ob_get_contents() ;
|
- |
|
51 |
ob_end_clean() ;
|
- |
|
Line 52... |
Line 50... |
52 |
|
50 |
|
Line 53... |
Line 51... |
53 |
include_once 'XML/Util.php' ;
|
51 |
include_once 'XML/Util.php' ;
|
Line 62... |
Line 60... |
62 |
header ('Content-type: text/xml');
|
60 |
header ('Content-type: text/xml');
|
63 |
echo $xml ;
|
61 |
echo $xml ;
|
64 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
62 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
65 |
*
|
63 |
*
|
66 |
* $Log: not supported by cvs2svn $
|
64 |
* $Log: not supported by cvs2svn $
|
- |
|
65 |
* Revision 1.4 2008-11-04 17:11:10 aperonnet
|
- |
|
66 |
* correction de bugs dans la liste des derniers messages
|
- |
|
67 |
*
|
67 |
* Revision 1.3 2008-08-26 09:26:41 alexandre_tb
|
68 |
* Revision 1.3 2008-08-26 09:26:41 alexandre_tb
|
68 |
* ajout commentaire
|
69 |
* ajout commentaire
|
69 |
*
|
70 |
*
|
70 |
*
|
71 |
*
|
71 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
72 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|