Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1301 → Rev 1302

/branches/livraison_menes/client/projet/actions/resume.php
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.10.2.1 2006-12-11 14:53:51 alexandre_tb Exp $
// CVS : $Id: resume.php,v 1.10.2.2 2007-04-11 12:20:23 alexandre_tb Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.10.2.1 $
*@version $Revision: 1.10.2.2 $
// +------------------------------------------------------------------------------------------------------+
*/
 
46,6 → 46,8
$retour = '';
 
// création de l'objet projet courant
include_once PROJET_CHEMIN_CLASSES.'projet.class.php' ;
include_once PROJET_CHEMIN_CLASSES.'participe.class.php' ;
$projet = new projet ($this->_db, $this->_id_projet) ;
 
// récupération de la liste des documents associés
138,6 → 140,7
$liste_ext_res = '' ;
if ($projet->avoirListe()) {
ob_start() ;
include_once PROJET_CHEMIN_CLASSES_LISTES.'ezmlm.php' ;
foreach ($projet->_listes_associes as $info_liste) {
$liste = new ezmlm_php() ;
// Paramétrage de la liste
/branches/livraison_menes/client/projet/actions/documents.php
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: documents.php,v 1.4 2006-09-21 15:12:02 alexandre_tb Exp $
// CVS : $Id: documents.php,v 1.4.2.1 2007-04-11 12:19:09 alexandre_tb Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.4 $
*@version $Revision: 1.4.2.1 $
// +------------------------------------------------------------------------------------------------------+
*/
 
45,6 → 45,7
$retour = '';
 
// création de l'objet projet courant
include_once PROJET_CHEMIN_CLASSES.'projet.class.php' ;
$projet = new projet ($this->_db, $this->_id_projet) ;
 
// récupération de la liste des documents associés
70,6 → 71,7
$entete_liste = array (PROJET_FICHIERS_NOM, PROJET_FICHIERS_TAILLE, PROJET_FICHIERS_PAR, PROJET_FICHIERS_CREE_LE) ;
 
if ($this->_auth->getAuth()) {
include_once PROJET_CHEMIN_CLASSES.'participe.class.php' ;
$participant = new participe($this->_db) ;
$id_u = $this->_auth->getAuthData(PROJET_CHAMPS_ID) ;
$isCoord = $participant->isCoordinateur($id_u, $this->_id_projet, $this->_db) ;
/branches/livraison_menes/client/projet/actions/participants.php
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: participants.php,v 1.5 2005-10-21 16:24:23 ddelon Exp $
// CVS : $Id: participants.php,v 1.5.4.1 2007-04-11 12:20:01 alexandre_tb Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.5 $
*@version $Revision: 1.5.4.1 $
// +------------------------------------------------------------------------------------------------------+
*/
 
46,9 → 46,12
include_once PROJET_CHEMIN_CLASSES.'HTML_listeParticipants.class.php' ;
 
$res = '' ;
include_once PROJET_CHEMIN_CLASSES.'participe.class.php' ;
include_once PROJET_CHEMIN_CLASSES.'projet.class.php' ;
$projet = new projet ($this->_db, $this->_id_projet) ;
$retour .= '<h1>'.PROJET_PROJET.' : '.$projet->getTitre()."</h1>" ;
$titre = '<h2>'.PROJET_LISTE_PARTICIPANT.'</h2>'."\n" ;
 
$participants = new participe($this->_db) ;
 
// On teste ici s'il y a une mise à jour de statut
102,7 → 105,7
$info_utilisateur = $participants->getInscrits($this->_id_projet, $droits) ;
array_push ($entete, PROJET_DATE_INSCRIPTION, PROJET_STATUT) ;
$HTML_listeParticipants->construitEntete($entete) ;
include_once PROJET_CHEMIN_CLASSES.'statut.class.php' ;
$HTML_listeParticipants->construitListe($info_utilisateur, statut::getTousLesStatuts(PROJET_STATUT_SAUF_ADM, $this->_db)) ;
$res = $HTML_listeParticipants->toHTML() ;
/branches/livraison_menes/client/projet/actions/wikini.php
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: wikini.php,v 1.14 2006-07-20 09:49:05 alexandre_tb Exp $
// CVS : $Id: wikini.php,v 1.14.2.1 2007-04-11 12:20:49 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.14.2.1 $
// +------------------------------------------------------------------------------------------------------+
*/
 
46,6 → 46,7
 
 
$res = '' ;
include_once PROJET_CHEMIN_CLASSES.'projet.class.php' ;
$projet = new projet ($this->_db, $this->_id_projet) ;
 
$wiki_res = '' ;
54,6 → 55,7
if ($wiki=$projet->getWikini()) {
if ($projet->isModere()) {
if ($this->_auth->getAuth()) {
include_once PROJET_CHEMIN_CLASSES.'participe.class.php' ;
$participant = new participe($this->_db) ;
if ($participant->getStatutSurProjetCourant($this->_auth->getAuthData(PROJET_CHAMPS_ID), $projet->getId(), $this->_db) < 3) {
$wiki_res .= '<a href="http://'.$GLOBALS['_GEN_commun']['url']->host.'/'.
/branches/livraison_menes/client/projet/actions/forums.php
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.2.1 2007-03-13 11:07:33 alexandre_tb Exp $
// CVS : $Id: forums.php,v 1.10.2.2 2007-04-11 12:19:38 alexandre_tb Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.10.2.1 $
*@version $Revision: 1.10.2.2 $
// +------------------------------------------------------------------------------------------------------+
*/
 
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