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.php,v 1.16 2005-11-07 17:30:36 florian Exp $ |
// CVS : $Id: bazar.fonct.php,v 1.17 2005-11-17 18:48:02 florian Exp $ |
/** |
* |
* Fonctions du module bazar |
30,7 → 30,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.16 $ $Date: 2005-11-07 17:30:36 $ |
*@version $Revision: 1.17 $ $Date: 2005-11-17 18:48:02 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
534,7 → 534,7 |
|
$squelette =& $formtemplate->defaultRenderer(); |
$squelette->setFormTemplate("\n".'<div id="choix"><form {attributes}>'."\n".'{content}'."\n".'</form></div>'."\n"); |
$squelette->setElementTemplate( '<div style="clear:both;">'."\n".'{element}'."\n".'</div>'."\n"); |
$squelette->setElementTemplate( '<div class="listechoix">'."\n".'{element}'."\n".'</div>'."\n"); |
|
//Mettre les annonces en choix par défaut |
$formtemplate->setdefaults(array('typeannonce'=>'Annonces')); |
1334,6 → 1334,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.16 2005/11/07 17:30:36 florian |
* ajout controle sur les listes pour la saisie |
* |
* Revision 1.15 2005/11/07 17:05:45 florian |
* amélioration validation conditions de saisie, ajout des règles spécifiques de saisie des formulaires |
* |