19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: HTML_listeProjet.class.php,v 1.2 2005-09-26 20:18:27 ddelon Exp $ |
// CVS : $Id: HTML_listeProjet.class.php,v 1.3 2005-09-27 16:36:56 alexandre_tb Exp $ |
/** |
* Application projet |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ |
*@version $Revision: 1.3 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
79,9 → 79,8 |
* @return void |
* @access public |
*/ |
function __construct($utilise_pager = false) |
function __construct( ) |
{ |
$this->HTML_listeProjet($utilise_pager); |
|
} // end of member function __cosntruct |
|
111,7 → 110,6 |
for ($i = 0; $i < count ($label_liste) ; $i++) { |
if ($this->_mode == 1) { |
$id_projet = array_shift ($label_liste[$i]) ; |
$id_statut = array_shift ($label_liste[$i]) ; |
$id_statut = array_pop ($label_liste[$i]) ; |
} |
|
130,7 → 128,11 |
$select .= '>'.$element_statut.'</option>'."\n" ; |
} |
$select .= '</select>'."\n".'</form>'."\n" ; |
if ($id_statut != PROJET_PAS_DE_LISTE) $this->setCellContents($i+1, 2, $select) ; |
if (is_int($id_statut)) { |
$this->setCellContents($i+1, 2, $select) ; |
} else { |
$this->setCellContents($i+1, 2, PROJET_PAS_DE_LISTE) ; |
} |
} |
} |
$this->altRowAttributes(1, array('class' => 'ligne_impaire'), array('class' => 'ligne_paire')) ; |