Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 81 → Rev 82

/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.15 2006-01-23 16:57:03 alexandre_tb Exp $
// CVS : $Id: bazar.fonct.formulaire.php,v 1.16 2006-01-24 14:11:44 alexandre_tb Exp $
/**
* Formulaire
*
31,7 → 31,7
//Autres auteurs :
*@author Aleandre GRANIER <alexandre@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.15 $ $Date: 2006-01-23 16:57:03 $
*@version $Revision: 1.16 $ $Date: 2006-01-24 14:11:44 $
// +------------------------------------------------------------------------------------------------------+
*/
 
124,7 → 124,12
* @return void
*/
function listedatedeb(&$formtemplate, $nom_bdd , $label, $limite1, $limite2, $defaut, $source, $obligatoire) {
$optiondate=array('language' => BAZ_LANGUE_PAR_DEFAUT,'minYear' => date('Y'),'maxYear'=> (date('Y')+10), 'format' => 'd m Y');
$optiondate = array('language' => BAZ_LANGUE_PAR_DEFAUT,
'minYear' => date('Y'),
'maxYear'=> (date('Y')+10),
'format' => 'd m Y',
'addEmptyOption' => true,
);
$formtemplate->addElement('date', $nom_bdd, constant($label), $optiondate) ;
//gestion des valeurs par défaut (date du jour)
if (isset($defaut)) $formtemplate->setDefaults(array($nom_bdd => $defaut));
224,6 → 229,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.15 2006/01/23 16:57:03 alexandre_tb
* correction d'un notice
*
* Revision 1.14 2006/01/19 17:42:11 florian
* ajout des cases à cocher pré-cochées pour les maj
*