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: projetControleur.class.php,v 1.3 2005-09-26 20:18:27 ddelon Exp $
|
22 |
// CVS : $Id: projetControleur.class.php,v 1.4 2005-09-27 15:52:26 ddelon Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application projet
|
24 |
* Application projet
|
25 |
*
|
25 |
*
|
26 |
* La classe controleur projet
|
26 |
* La classe controleur projet
|
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-2004
|
33 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@version $Revision: 1.3 $
|
34 |
*@version $Revision: 1.4 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 482... |
Line 482... |
482 |
}
|
482 |
}
|
483 |
$this->_url->removeQueryString(PROJET_VARIABLE_ACTION) ;
|
483 |
$this->_url->removeQueryString(PROJET_VARIABLE_ACTION) ;
|
484 |
$HTML_projetNonParticipantListe->construitListe($liste_projet) ;
|
484 |
$HTML_projetNonParticipantListe->construitListe($liste_projet) ;
|
485 |
$res .= $HTML_projetNonParticipantListe->toHTML() ;
|
485 |
$res .= $HTML_projetNonParticipantListe->toHTML() ;
|
486 |
} else {
|
486 |
} else {
|
487 |
//$projetNonParticipantListe = & $projetListe ;
|
487 |
$projetNonParticipantListe = & $projetListe ;
|
- |
|
488 |
$HTML_projetNonParticipantListe = new HTML_listeProjet(true) ;
|
- |
|
489 |
$entete_liste = array (PROJET_LISTE) ;
|
- |
|
490 |
$HTML_projetNonParticipantListe->construitEntete($entete_liste) ;
|
- |
|
491 |
|
- |
|
492 |
$liste_projet = array() ;
|
- |
|
493 |
// La liste
|
- |
|
494 |
foreach ($projetNonParticipantListe as $projet) {
|
- |
|
495 |
$this->_url->addQueryString(PROJET_VARIABLE_ID_PROJET, $projet->getId()) ;
|
- |
|
496 |
$ligne_projet = array (
|
- |
|
497 |
'<a href="'.$this->_url->getURL().'">'.$projet->getTitre().'</a>' // le nom du projet
|
- |
|
498 |
) ;
|
- |
|
499 |
|
- |
|
500 |
$this->_url->removeQueryString(PROJET_VARIABLE_ACTION);
|
- |
|
501 |
array_push ($liste_projet, $ligne_projet) ;
|
- |
|
502 |
}
|
- |
|
503 |
$this->_url->removeQueryString(PROJET_VARIABLE_ACTION) ;
|
- |
|
504 |
$HTML_projetNonParticipantListe->construitListe($liste_projet) ;
|
- |
|
505 |
$res .= $HTML_projetNonParticipantListe->toHTML() ;
|
Line 488... |
Line 506... |
488 |
|
506 |
|
Line 489... |
Line 507... |
489 |
}
|
507 |
}
|