Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 52 → Rev 53

/trunk/bibliotheque/bazar.fonct.formulaire.php
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: bazar.fonct.formulaire.php,v 1.7 2005-11-07 17:51:06 florian Exp $
// CVS : $Id: bazar.fonct.formulaire.php,v 1.8 2005-11-18 16:03:23 florian Exp $
/**
* Formulaire
*
31,7 → 31,7
//Autres auteurs :
*@author Aleandre GRANIER <alexandre@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.7 $ $Date: 2005-11-07 17:51:06 $
*@version $Revision: 1.8 $ $Date: 2005-11-18 16:03:23 $
// +------------------------------------------------------------------------------------------------------+
*/
 
61,7 → 61,7
$select[$ligne[0]] = $ligne[1] ;
}
$option=array('style'=>'width: '.$limite1.'px;');
require_once 'HTML/QuickForm/select.php';
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/select.php';
$select= new HTML_QuickForm_select($nom_bdd, constant($label), $select, $option);
$select->setSize($limite2);
$select->setMultiple(0);
180,7 → 180,7
* @return void
*/
function labelhtml(&$formtemplate, $nom_bdd , $label, $limite1, $limite2, $defaut, $source, $obligatoire) {
require_once 'HTML/QuickForm/html.php';
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/html.php';
$formhtml= new HTML_QuickForm_html(constant($label));
$formtemplate->addElement($formhtml) ;
}
188,6 → 188,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.7 2005/11/07 17:51:06 florian
* correction bug liste
*
* Revision 1.6 2005/11/07 17:30:36 florian
* ajout controle sur les listes pour la saisie
*