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: documents.php,v 1.2 2005-09-27 16:43:53 alexandre_tb Exp $
|
22 |
// CVS : $Id: documents.php,v 1.3 2006-07-04 09:04:45 alexandre_tb Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application projet
|
24 |
* Application projet
|
25 |
*
|
25 |
*
|
26 |
* Action documents
|
26 |
* Action documents
|
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.2 $
|
34 |
*@version $Revision: 1.3 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 75... |
Line 75... |
75 |
$isCoord = $participant->isCoordinateur($id_u, $this->_id_projet, $this->_db) ;
|
75 |
$isCoord = $participant->isCoordinateur($id_u, $this->_id_projet, $this->_db) ;
|
76 |
if ($isCoord) $droits = PROJET_DROIT_COORDINATEUR ;
|
76 |
if ($isCoord) $droits = PROJET_DROIT_COORDINATEUR ;
|
77 |
$isAdm = participe::isAdministrateur($this->_auth->getAuthData(PROJET_CHAMPS_ID), $this->_db) ;
|
77 |
$isAdm = participe::isAdministrateur($this->_auth->getAuthData(PROJET_CHAMPS_ID), $this->_db) ;
|
78 |
if ($isAdm) $droits = PROJET_DROIT_ADMINISTRATEUR ;
|
78 |
if ($isAdm) $droits = PROJET_DROIT_ADMINISTRATEUR ;
|
79 |
if ($isAdm) $isCoord = true ;
|
79 |
if ($isAdm) $isCoord = true ;
|
- |
|
80 |
$isParticipant = $participant->isContributeur($id_u, $this->_id_projet, $this->_db);
|
- |
|
81 |
if ($isParticipant) $droits = PROJET_DROIT_CONTRIBUTEUR;
|
Line 80... |
Line 82... |
80 |
|
82 |
|
81 |
$statut = participe::getStatutSurProjetCourant ($this->_auth->getAuthData(PROJET_CHAMPS_ID), $this->_id_projet, $this->_db) ;
|
83 |
$statut = participe::getStatutSurProjetCourant ($this->_auth->getAuthData(PROJET_CHAMPS_ID), $this->_id_projet, $this->_db) ;
|
Line 82... |
Line 84... |
82 |
// si participant, on ajoute le champs visibilite
|
84 |
// si participant, on ajoute le champs visibilite
|