Subversion Repositories Applications.projet

Rev

Rev 28 | Rev 34 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28 Rev 31
Line 18... Line 18...
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
// +------------------------------------------------------------------------------------------------------+
Line 22... Line 22...
22
 
22
 
Line 23... Line 23...
23
// CVS : $Id: projetControleur.class.php,v 1.10 2005-10-06 14:51:55 alexandre_tb Exp $
23
// CVS : $Id: projetControleur.class.php,v 1.11 2005-10-07 08:28:05 alexandre_tb Exp $
24
 
24
 
25
/**
25
/**
26
* Application projet
26
* Application projet
Line 31... Line 31...
31
//Auteur original :
31
//Auteur original :
32
*@author        Alexandre Granier <alexandre@tela-botanica.org>
32
*@author        Alexandre Granier <alexandre@tela-botanica.org>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Aucun
34
*@author        Aucun
35
*@copyright     Tela-Botanica 2000-2004
35
*@copyright     Tela-Botanica 2000-2004
36
*@version       $Revision: 1.10 $
36
*@version       $Revision: 1.11 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 1593... Line 1593...
1593
        if (isset($_GET['inscription_liste']) || $this->_action = PROJET_ACTION_DESINSCRIPTION_LISTE) {
1593
        if (isset($_GET['inscription_liste']) || $this->_action = PROJET_ACTION_DESINSCRIPTION_LISTE) {
1594
            $projet = new projet ($this->_db, $this->_id_projet) ;
1594
            $projet = new projet ($this->_db, $this->_id_projet) ;
1595
            include_once PROJET_CHEMIN_CLASSES.'annuaire.class.php' ;
1595
            include_once PROJET_CHEMIN_CLASSES.'annuaire.class.php' ;
1596
            include_once PROJET_CHEMIN_CLASSES.'inscription_liste.class.php' ;
1596
            include_once PROJET_CHEMIN_CLASSES.'inscription_liste.class.php' ;
1597
            $projet->getListesAssociees() ;
1597
            $projet->getListesAssociees() ;
1598
            $utilisateur = new annuaire($this->_db, array('identifiant' => PROJET_CHAMPS_ID, 'mail' => PROJET_CHAMPS_MAIL, 'table' => PROJET_ANNUAIRE)) ;
1598
            $utilisateur = new annuaire($this->_db, array('identifiant' => PROJET_CHAMPS_ID,
-
 
1599
            								 'mail' => PROJET_CHAMPS_MAIL,
-
 
1600
            								 'table' => PROJET_ANNUAIRE)) ;
1599
            $utilisateur->setId($this->_auth->getAuthData(PROJET_CHAMPS_ID)) ;
1601
            $utilisateur->setId($this->_auth->getAuthData(PROJET_CHAMPS_ID)) ;
1600
            $inscription_liste = new inscription_liste($this->_db) ;
1602
            $inscription_liste = new inscription_liste($this->_db) ;
1601
            $inscription_liste->desinscrireUtilisateur( $utilisateur, $projet->_listes_associes[0], $_GET['inscription_liste']) ;
1603
            $inscription_liste->desinscrireUtilisateur( $utilisateur, $projet->_listes_associes[0], $_GET['inscription_liste']) ;
1602
        }
1604
        }
1603
    } // end of member function inscriptionListe
1605
    } // end of member function inscriptionListe