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: forums.php,v 1.14 2008-09-16 14:12:43 alexandre_tb Exp $
|
22 |
// CVS : $Id: forums.php,v 1.13 2008-08-25 15:02:49 alexandre_tb Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application projet
|
24 |
* Application projet
|
25 |
*
|
25 |
*
|
26 |
* Action forums
|
26 |
* Action forums
|
27 |
*
|
27 |
*
|
Line 29... |
Line 29... |
29 |
//Auteur original :
|
29 |
//Auteur original :
|
30 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
30 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
31 |
//Autres auteurs :
|
31 |
//Autres auteurs :
|
32 |
*@author Aucun
|
32 |
*@author Aucun
|
33 |
*@copyright Tela-Botanica 2000-2005
|
33 |
*@copyright Tela-Botanica 2000-2005
|
34 |
*@version $Revision: 1.14 $
|
34 |
*@version $Revision: 1.13 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 181... |
Line 181... |
181 |
ob_start();
|
181 |
ob_start();
|
182 |
$resultat = $xml_parser->parse() ;
|
182 |
$resultat = $xml_parser->parse() ;
|
183 |
$calendrier = ob_get_contents();
|
183 |
$calendrier = ob_get_contents();
|
184 |
ob_end_clean();
|
184 |
ob_end_clean();
|
185 |
$xml_parser->reset();
|
185 |
$xml_parser->reset();
|
- |
|
186 |
|
186 |
}
|
187 |
}
|
187 |
//$this->_url->addQueryString(PROJET_VARIABLE_ACTION, $this->_action) ;
|
188 |
//$this->_url->addQueryString(PROJET_VARIABLE_ACTION, $this->_action) ;
|
Line 188... |
Line 189... |
188 |
|
189 |
|
189 |
// On teste si l'on vient d'une reponse a un email, si oui
|
190 |
// On teste si l'on vient d'une reponse a un email, si oui
|
Line 341... |
Line 342... |
341 |
$repondre = new ezmlm_repondre();
|
342 |
$repondre = new ezmlm_repondre();
|
342 |
$repondre->listdir = $liste->listdir ;
|
343 |
$repondre->listdir = $liste->listdir ;
|
343 |
$this->_url->removeQueryString (PROJET_VARIABLE_ACTION) ;
|
344 |
$this->_url->removeQueryString (PROJET_VARIABLE_ACTION) ;
|
344 |
$repondre->forcehref = $this->_url->getURL();
|
345 |
$repondre->forcehref = $this->_url->getURL();
|
345 |
$repondre->listname = $info_liste->getNom() ;
|
346 |
$repondre->listname = $info_liste->getNom() ;
|
346 |
// actionargs[0] contient le nom du répertoire et actionargs[1] le nom du fichier
|
347 |
// actionargs[0] contient le nom du r�pertoire et actionargs[1] le nom du fichier
|
347 |
// On appelle la fonction qui affiche un fichier
|
348 |
// On appelle la fonction qui affiche un fichier
|
348 |
$message = '<h2>'.PROJET_REDIGER_REPONSE.'</h2>'."\n" ;
|
349 |
$message = '<h2>'.PROJET_REDIGER_REPONSE.'</h2>'."\n" ;
|
349 |
$repondre->repondre($liste->actionargs[0] . "/" . $liste->actionargs[1]);
|
350 |
$repondre->repondre($liste->actionargs[0] . "/" . $liste->actionargs[1]);
|
Line 350... |
Line 351... |
350 |
|
351 |
|
351 |
$repondre->parse_template($mailDecode, $liste->actionargs[0], $liste->actionargs[1]);
|
352 |
$repondre->parse_template($mailDecode, $liste->actionargs[0], $liste->actionargs[1]);
|
352 |
$formulaireReponse->addElement ('hidden', 'messageid', $mailDecode->headers['message-id']) ;
|
353 |
$formulaireReponse->addElement ('hidden', 'messageid', $mailDecode->headers['message-id']) ;
|
353 |
// Ajout de > au début de chaque ligne du message
|
354 |
// Ajout de > au d�but de chaque ligne du message
|
354 |
$tableau = explode ("\n", $repondre->message_rendu) ;
|
355 |
$tableau = explode ("\n", $repondre->message_rendu) ;
|
Line 355... |
Line 356... |
355 |
$repondre->message_rendu = "> ".implode ("\n> ", $tableau) ;
|
356 |
$repondre->message_rendu = "> ".implode ("\n> ", $tableau) ;
|
356 |
|
357 |
|
Line 394... |
Line 395... |
394 |
|
395 |
|
395 |
$this->_url->removeQueryString ('actionargs');
|
396 |
$this->_url->removeQueryString ('actionargs');
|
396 |
$this->_url->addQueryString(PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_FORUM);
|
397 |
$this->_url->addQueryString(PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_FORUM);
|
397 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
398 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
398 |
*
|
399 |
*
|
399 |
* $Log: not supported by cvs2svn $
|
400 |
* $Log: forums.php,v $
|
400 |
* Revision 1.13 2008-08-25 15:02:49 alexandre_tb
|
401 |
* Revision 1.13 2008-08-25 15:02:49 alexandre_tb
|
401 |
* mise en place des squelettes
|
402 |
* mise en place des squelettes
|
402 |
*
|
403 |
*
|
403 |
*
|
404 |
*
|