Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 56 → Rev 57

/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.9 2005-11-24 16:17:13 florian Exp $
// CVS : $Id: bazar.fonct.formulaire.php,v 1.10 2005-12-01 16:05:41 florian Exp $
/**
* Formulaire
*
31,7 → 31,7
//Autres auteurs :
*@author Aleandre GRANIER <alexandre@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.9 $ $Date: 2005-11-24 16:17:13 $
*@version $Revision: 1.10 $ $Date: 2005-12-01 16:05:41 $
// +------------------------------------------------------------------------------------------------------+
*/
 
61,7 → 61,7
$select[$ligne[0]] = $ligne[1] ;
}
$option=array('style'=>'width: '.$limite1.'px;');
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/select.php';
require_once 'HTML/QuickForm/select.php';
$select= new HTML_QuickForm_select($nom_bdd, constant($label), $select, $option);
$select->setSize($limite2);
$select->setMultiple(0);
95,7 → 95,7
if (DB::isError ($resultat)) {
die ($GLOBALS['_BAZAR_']['db']->getMessage().$GLOBALS['_BAZAR_']['db']->getDebugInfo()) ;
}
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/advcheckbox.php' ;
require_once 'HTML/QuickForm/advcheckbox.php' ;
$i=0;
while ($ligne = $resultat->fetchRow()) {
//$chkbox[$ligne[0]] = $ligne[1] ;
213,7 → 213,7
* @return void
*/
function labelhtml(&$formtemplate, $nom_bdd , $label, $limite1, $limite2, $defaut, $source, $obligatoire) {
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/html.php';
require_once 'HTML/QuickForm/html.php';
$formhtml= new HTML_QuickForm_html('<li>'.constant($label).'</li>'."\n");
$formtemplate->addElement($formhtml) ;
}
221,6 → 221,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.9 2005/11/24 16:17:13 florian
* corrections bugs, ajout des cases à cocher
*
* Revision 1.8 2005/11/18 16:03:23 florian
* correction bug html entites
*