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: resume.php,v 1.14 2008-08-25 15:02:49 alexandre_tb Exp $ |
// CVS : $Id: resume.php,v 1.13 2007-08-28 10:33:50 alexandre_tb Exp $ |
/** |
* Application projet |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.14 $ |
*@version $Revision: 1.13 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
59,7 → 59,6 |
|
|
$lien_inscription = ''; |
|
// recuperation de la liste des documents associes |
$liste_documents = document::getDocumentsRecents(4, $this->_db, PROJET_CHEMIN_FICHIER, |
PROJET_CHEMIN_ICONES, $this->_id_projet) ; |
93,19 → 92,19 |
if ($isAdm) $droits = PROJET_DROIT_ADMINISTRATEUR ; |
if ($isAdm) $isCoord = true ; |
|
include_once PROJET_CHEMIN_CLASSES.'inscription_liste.class.php'; |
$projet->getListesAssociees(); |
foreach ($projet->_listes_associes as $info_liste) { |
$inscription_liste = new inscription_liste($this->_db) ; |
if ($inscription_liste->getStatutInscrit($info_liste->getId(), $this->_auth) == 0) { |
$action_inscription = PROJET_ACTION_INSCRIPTION_LISTE ; |
$label_inscription = 'S\'inscrire à la liste' ; |
} else { |
// L'action envoyer un mail |
$action_inscription = PROJET_ENVOYER_UN_MAIL ; |
$label_inscription = PROJET_ECRIRE_LISTE ; |
} |
} |
include_once PROJET_CHEMIN_CLASSES.'inscription_liste.class.php'; |
$projet->getListesAssociees(); |
foreach ($projet->_listes_associes as $info_liste) { |
$inscription_liste = new inscription_liste($this->_db) ; |
if ($inscription_liste->getStatutInscrit($info_liste->getId(), $this->_auth) == 0) { |
$action_inscription = PROJET_ACTION_INSCRIPTION_LISTE ; |
$label_inscription = 'S\'inscrire à la liste' ; |
} else { |
// L'action envoyer un mail |
$action_inscription = PROJET_ENVOYER_UN_MAIL ; |
$label_inscription = PROJET_ECRIRE_LISTE ; |
} |
} |
|
switch ($participant->getStatut($id_u, $this->_id_projet)) |
{ |
234,7 → 233,7 |
include_once PROJET_CHEMIN_CLASSES_LISTES.'ezmlm.php' ; |
foreach ($projet->_listes_associes as $info_liste) { |
$liste = new ezmlm_php() ; |
// Paramétrage de la liste |
// Param�trage de la liste |
|
$liste->listdir = PROJET_CHEMIN_LISTES.$info_liste->getDomaine().'/'.$info_liste->getNom(); |
|
297,7 → 296,10 |
$liste_ext_res .= '<h2>'.PROJET_LISTES_ASSOCIEES.'</h2>'."\n" ; |
for ($i = 0; $i < count ($tableau_liste); $i++) { |
$info_liste = $listes_ext->getInfoListe($tableau_liste[$i]) ; |
//$liste_ext_res .= '<h2>'.$info_liste->AGO_A_NOMGRPLG.'</h2>'."\n" ; |
//$liste_ext_res .= '<p>'.$info_liste->AGO_A_RESUMLG.'</p>'."\n" ; |
$liste_ext_res .= '<p><a href="'.$info_liste->AGO_A_URLGRP.'" target="_blank">'.$info_liste->AGO_A_URLGRP.'</a></p>'."\n" ; |
//$liste_ext_res .= '<br />'."\n" ; |
} |
$avoir_liste_externe = true; |
} else { |
313,7 → 315,7 |
ob_end_clean(); |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* $Log$ |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |