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: inscription.class.php,v 1.4 2005-11-17 18:48:02 florian Exp $ |
// CVS : $Id: inscription.class.php,v 1.5 2005-11-24 16:17:52 florian Exp $ |
/** |
* Inscription |
* |
31,7 → 31,7 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.4 $ $Date: 2005-11-17 18:48:02 $ |
*@version $Revision: 1.5 $ $Date: 2005-11-24 16:17:52 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
133,6 → 133,9 |
$squelette->setElementTemplate( '<span class="bouton" id="bouton_annuler">{label}{element}</span>'."\n", 'annuler'); |
$squelette->setElementTemplate( '<span class="bouton" id="bouton_valider">{label}{element}</span>'."\n", 'valider'); |
$squelette->setGroupElementTemplate('<span class="groupe_bouton">{label}{element}</span>', 'groupe_bouton') ; |
//Traduction de champs requis |
$formtemplate->setRequiredNote(INS_CHAMPS_REQUIS) ; |
$formtemplate->setJsWarnings(INS_ERREUR_SAISIE,INS_VEUILLEZ_CORRIGER); |
$debut = '<h2>'.INS_AJOUT_MEMBRE.'</h2>'."\n"; |
$this->addElement('html', $debut); |
$this->addElement('text', 'email', INS_EMAIL) ; |