Subversion Repositories Applications.projet

Rev

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

Rev 336 Rev 377
Line 61... Line 61...
61
    $projet->getListesAssociees() ;
61
    $projet->getListesAssociees() ;
62
    if ($projet->avoirListe()) {
62
    if ($projet->avoirListe()) {
63
        include_once PROJET_CHEMIN_CLASSES.'annuaire.class.php' ;
63
        include_once PROJET_CHEMIN_CLASSES.'annuaire.class.php' ;
64
        $annuaire = new annuaire($this->_db, array('identifiant' => PROJET_CHAMPS_ID, 'mail' => PROJET_CHAMPS_MAIL, 'table' => PROJET_ANNUAIRE)) ;
64
        $annuaire = new annuaire($this->_db, array('identifiant' => PROJET_CHAMPS_ID, 'mail' => PROJET_CHAMPS_MAIL, 'table' => PROJET_ANNUAIRE)) ;
65
        $annuaire->setId($_GET['id_utilisateur']) ;
65
        $annuaire->setId($_GET['id_utilisateur']) ;
66
        include_once PROJET_CHEMIN_CLASSES.'inscription_liste.class.php' ;
-
 
67
        $desinscription= new inscription_liste($this->_db) ;
-
 
68
        $desinscription->desinscrireUtilisateur($annuaire, $projet->_listes_associes[0]) ;
-
 
69
    }
66
    }
70
}
67
}
71
// On teste ici s'il y a une mise a jour de l inscription a la liste
68
// On teste ici s'il y a une mise a jour de l inscription a la liste
72
if (isset($_POST['inscription_liste'])) {
69
if (isset($_POST['inscription_liste'])) {
73
    $projet->getListesAssociees();
70
    $projet->getListesAssociees();