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: HTML_formulaireProjet.class.php,v 1.2 2005-09-27 16:42:00 alexandre_tb Exp $
|
22 |
// CVS : $Id: HTML_formulaireProjet.class.php,v 1.3 2005-10-14 08:57:17 alexandre_tb Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application projet
|
24 |
* Application projet
|
25 |
*
|
25 |
*
|
26 |
* La classe HTML_formulaireProjet
|
26 |
* La classe HTML_formulaireProjet
|
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.2 $
|
34 |
*@version $Revision: 1.3 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
Line 109... |
Line 109... |
109 |
$id_projet = array() ;
|
109 |
$id_projet = array() ;
|
110 |
foreach ($tableau_projet as $projet) {
|
110 |
foreach ($tableau_projet as $projet) {
|
111 |
$label_projet[] = $projet->getTitre() ;
|
111 |
$label_projet[] = $projet->getTitre() ;
|
112 |
$id_projet[] = $projet->getId() ;
|
112 |
$id_projet[] = $projet->getId() ;
|
113 |
}
|
113 |
}
|
- |
|
114 |
if (PROJET_UTILISE_HIERARCHIE) {
|
114 |
$select = new HTML_QuickForm_select ('projet_asso', PROJET_PERE, $label_projet, array ('class' => 'projet_asso')) ;
|
115 |
$select = new HTML_QuickForm_select ('projet_asso', PROJET_PERE, $label_projet, array ('class' => 'projet_asso')) ;
|
115 |
$this->addElement($select) ;
|
116 |
$this->addElement($select) ;
|
116 |
unset ($select) ;
|
117 |
unset ($select) ;
|
117 |
|
118 |
}
|
118 |
$this->applyFilter(array('projet_resume', 'projet_description'), 'addslashes') ;
|
119 |
$this->applyFilter(array('projet_resume', 'projet_description'), 'addslashes') ;
|
Line 119... |
Line 120... |
119 |
|
120 |
|
120 |
if ($tableau_type != '') {
|
121 |
if ($tableau_type != '') {
|
121 |
$select = new HTML_QuickForm_select ('projet_type', PROJET_TYPE, $tableau_type, array ('class' => 'projet_type')) ;
|
122 |
$select = new HTML_QuickForm_select ('projet_type', PROJET_TYPE, $tableau_type, array ('class' => 'projet_type')) ;
|