19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: forums.php,v 1.10 2006-06-16 14:17:16 alexandre_tb Exp $ |
// CVS : $Id: forums.php,v 1.11 2007-04-19 15:34:35 neiluj Exp $ |
/** |
* Application projet |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.10 $ |
*@version $Revision: 1.11 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
39,6 → 39,8 |
// | ENTETE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
|
include_once PROJET_CHEMIN_CLASSES.'projet.class.php' ; |
include_once PROJET_CHEMIN_CLASSES.'participe.class.php' ; |
include_once (PROJET_CHEMIN_CLASSES.'HTML_formulaireMail.class.php') ; |
include_once (PROJET_CHEMIN_CLASSES.'inscription_liste.class.php') ; |
include_once (PROJET_CHEMIN_CLASSES.'ezmlmAccessObject.class.php') ; |
87,6 → 89,7 |
} |
|
if ($info_liste->isPublic() || $droits <= PROJET_DROIT_CONTRIBUTEUR) { |
include_once PROJET_CHEMIN_CLASSES_LISTES.'ezmlm.php' ; |
$liste = new ezmlm_php() ; |
// Paramétrage de la liste |
|
150,8 → 153,8 |
'include_bodies' => 'true')) ; |
$message = new ezmlm_msgdisplay() ; |
$message->listname = $info_liste->getNom(); |
$this->_url->addQueryString ('action', 'show_msg'); |
if ($xml_parser->getNumeroFichierPrecedent() != '') { |
$this->_url->addQueryString ('action', 'show_msg'); |
print '[<a href="' . $this->_url->getURL(). '&actionargs[]='. |
$xml_parser->getNumeroRepertoirePrecedent().'&actionargs[]='. |
$xml_parser->getNumeroFichierPrecedent(). |
171,7 → 174,8 |
if ($isCoord) { |
$this->_url->addQueryString ('action', 'supprimer'); |
print '[<a href="'.$this->_url->getURL().'&actionargs[]='.$liste->actionargs[0]. |
'&actionargs[]='.$liste->actionargs[1].'">'.PROJET_SUPPRIMER.'</a>]'; |
'&actionargs[]='.$liste->actionargs[1].'" onclick="javascript:return confirm(\''.PROJET_SUPPRIMER.' ?\');">'. |
PROJET_SUPPRIMER.'</a>]'; |
} |
print '<div class="message">' ; |
print $message->parse_entete_mail($mailDecode) ; |
282,6 → 286,15 |
$xml_parser->setAction ('supprimer'); |
$xml_parser->setIdMessage($liste->actionargs[0], $liste->actionargs[1]) ; |
$xml_parser->load(); |
print'<h2>'.PROJET_DERNIERS_MESSAGES.'</h2>'."\n" ; |
$xml_parser->reset() ; |
$xml_parser->setAction ('derniers_messages'); |
$xml_parser->load(); |
ob_start (); |
$xml_parser->parse() ; |
$derniers_messages = ob_get_contents() ; |
ob_end_clean(); |
echo $derniers_messages ; |
break; |
} |
|