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.3 2005-07-21 19:03:12 florian Exp $ |
// CVS : $Id: bazar.fonct.formulaire.php,v 1.4 2005-10-25 13:53:02 alexandre_tb Exp $ |
/** |
* Inscription |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Aleandre GRANIER <alexandre@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.3 $ $Date: 2005-07-21 19:03:12 $ |
*@version $Revision: 1.4 $ $Date: 2005-10-25 13:53:02 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
130,6 → 130,7 |
//gestion des valeurs par défaut |
$defauts=array($nom_bdd=>$defaut); |
$formtemplate->setDefaults($defauts); |
$formtemplate->applyFilter($nom_bdd, 'addslashes') ; |
//gestion du champs obligatoire |
if (isset($obligatoire)and($obligatoire==1)) {$formtemplate->addRule($nom_bdd, constant($label.'_REQUIS'), 'required', '', 'client') ;} |
} |
156,6 → 157,7 |
//gestion des valeurs par défaut |
$defauts=array($nom_bdd=>$defaut); |
$formtemplate->setDefaults($defauts); |
$formtemplate->applyFilter($nom_bdd, 'addslashes') ; |
//gestion du champs obligatoire |
if (isset($obligatoire)and($obligatoire==1)) {$formtemplate->addRule($nom_bdd, constant($label.'_REQUIS'), 'required', '', 'client') ;} |
} |
181,7 → 183,10 |
|
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* $Log: not supported by cvs2svn $ |
* Revision 1.3 2005/07/21 19:03:12 florian |
* nouveautés bazar: templates fiches, correction de bugs, ... |
* |
* Revision 1.1.1.1 2005/02/17 18:05:11 florian |
* Import initial de Bazar |
* |