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_listeParticipants.class.php,v 1.3 2006-01-11 10:32:09 alexandre_tb Exp $
|
22 |
// CVS : $Id: HTML_listeParticipants.class.php,v 1.3.4.1 2007-05-11 13:47:00 alexandre_tb Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application projet
|
24 |
* Application projet
|
25 |
*
|
25 |
*
|
26 |
* La classe HTML_listeParticipants
|
26 |
* La classe HTML_listeParticipants
|
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.3.4.1 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
Line 94... |
Line 94... |
94 |
*
|
94 |
*
|
95 |
* @param Array elements Tableau à deux dimension contenant les éléments à afficher.
|
95 |
* @param Array elements Tableau à deux dimension contenant les éléments à afficher.
|
96 |
* @return void
|
96 |
* @return void
|
97 |
* @access public
|
97 |
* @access public
|
98 |
*/
|
98 |
*/
|
99 |
function construitListe( $elements, $tableau_statut = '' )
|
99 |
function construitListe( $elements, $tableau_statut = '', &$projet )
|
100 |
{
|
100 |
{
|
101 |
for ($i = 0; $i < count ($elements) ; $i++) {
|
101 |
for ($i = 0; $i < count ($elements) ; $i++) {
|
102 |
// L'identifiant de l'utilisateur est le premier élément du tableau
|
102 |
// L'identifiant de l'utilisateur est le premier élément du tableau
|
103 |
$id_utilisateur = array_shift ($elements[$i]) ;
|
103 |
$id_utilisateur = array_shift ($elements[$i]) ;
|
Line 111... |
Line 111... |
111 |
array_push ($elements[$i], '', '<a href="'.$this->_url->getURL().'" onclick="javascript:return confirm(\''.PROJET_SUPPRIMER.' ?\')">'
|
111 |
array_push ($elements[$i], '', '<a href="'.$this->_url->getURL().'" onclick="javascript:return confirm(\''.PROJET_SUPPRIMER.' ?\')">'
|
112 |
.PROJET_SUPPRIMER.'</a>');
|
112 |
.PROJET_SUPPRIMER.'</a>');
|
113 |
$this->_url->removeQueryString('statut') ;
|
113 |
$this->_url->removeQueryString('statut') ;
|
114 |
}
|
114 |
}
|
Line -... |
Line 115... |
- |
|
115 |
|
- |
|
116 |
// La colonne avec l inscription a la liste de discussion
|
115 |
|
117 |
|
116 |
$this->addRow ($elements[$i]) ;
|
118 |
$this->addRow ($elements[$i]) ;
|
Line 117... |
Line 119... |
117 |
// mise à jour du champs mail en l'entourant par la balise mailto
|
119 |
// mise à jour du champs mail en l'entourant par la balise mailto
|