Subversion Repositories Applications.projet

Rev

Rev 380 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 380 Rev 431
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: participants.php,v 1.9 2008-09-01 14:38:34 alexandre_tb Exp $
22
// CVS : $Id: participants.php,v 1.8 2008-08-25 15:02:49 alexandre_tb Exp $
23
/**
23
/**
24
* Application projet
24
* Application projet
25
*
25
*
26
* Action participants
26
* Action participants
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.9 $
34
*@version       $Revision: 1.8 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 57... Line 57...
57
 
57
 
58
// On teste ici s'il y a une mise a jour de statut
58
// On teste ici s'il y a une mise a jour de statut
59
if (isset($_REQUEST['statut'])) {
59
if (isset($_REQUEST['statut'])) {
Line 60... Line 60...
60
    $participants->setStatut($_REQUEST['statut'], $_GET['id_utilisateur'], $this->_id_projet) ;
60
    $participants->setStatut($_REQUEST['statut'], $_GET['id_utilisateur'], $this->_id_projet) ;
61
    
61
    
62
    // Si désinscription de l'utilisateur (statut 4)
62
    // Si d�sinscription de l'utilisateur (statut 4)
63
    if ($_REQUEST['statut'] == 4) {
63
    if ($_REQUEST['statut'] == 4) {
64
	    $projet->getListesAssociees() ;
64
	    $projet->getListesAssociees() ;
65
	    if ($projet->avoirListe()) {
65
	    if ($projet->avoirListe()) {
66
	        include_once PROJET_CHEMIN_CLASSES.'annuaire.class.php' ;
66
	        include_once PROJET_CHEMIN_CLASSES.'annuaire.class.php' ;
Line 67... Line 67...
67
	        $annuaire = new annuaire($this->_db, array('identifiant' => PROJET_CHAMPS_ID, 'mail' => PROJET_CHAMPS_MAIL, 'table' => PROJET_ANNUAIRE)) ;
67
	        $annuaire = new annuaire($this->_db, array('identifiant' => PROJET_CHAMPS_ID, 'mail' => PROJET_CHAMPS_MAIL, 'table' => PROJET_ANNUAIRE)) ;
68
	        $annuaire->setId($_GET['id_utilisateur']) ;
68
	        $annuaire->setId($_GET['id_utilisateur']) ;
69
	        
69
	        
70
	        // on désinscrit l'utilisateur des listes associées au projet
70
	        // on d�sinscrit l'utilisateur des listes associ�es au projet
Line 71... Line 71...
71
			include_once PROJET_CHEMIN_CLASSES.'inscription_liste.class.php' ;
71
		include_once PROJET_CHEMIN_CLASSES.'inscription_liste.class.php' ;
Line 199... Line 199...
199
$GLOBALS['url']->addQueryString (PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_PARTICIPANT) ;
199
$GLOBALS['url']->addQueryString (PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_PARTICIPANT) ;
Line 200... Line 200...
200
 
200
 
201
 
201
 
202
/* +--Fin du code ----------------------------------------------------------------------------------------+
202
/* +--Fin du code ----------------------------------------------------------------------------------------+
203
*
203
*
204
* $Log: not supported by cvs2svn $
204
* $Log: participants.php,v $
205
* Revision 1.8  2008-08-25 15:02:49  alexandre_tb
205
* Revision 1.8  2008-08-25 15:02:49  alexandre_tb
206
* mise en place des squelettes
206
* mise en place des squelettes
207
*
207
*