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.11 2006-04-10 14:01:36 florian Exp $ |
// CVS : $Id: inscription.class.php,v 1.12 2006-04-11 08:41:19 alexandre_tb Exp $ |
/** |
* Inscription |
* |
31,7 → 31,7 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.11 $ $Date: 2006-04-10 14:01:36 $ |
*@version $Revision: 1.12 $ $Date: 2006-04-11 08:41:19 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
176,6 → 176,10 |
$this->addRule('nom', INS_NOM_REQUIS, 'required', '', 'client') ; |
$this->addElement('text', 'prenom', INS_PRENOM) ; |
$this->addRule('prenom', INS_PRENOM_REQUIS, 'required', '', 'client') ; |
if (INS_UTILISE_WIKINI && !INS_NOM_WIKINI_GENERE) { |
$this->addElement ('text', 'nomwiki', INS_NOM_WIKI) ; |
$this->addRule ('nomwiki', INS_NOM_WIKI_REQUIS, 'required', '', 'client'); |
} |
$this->addElement('text', 'adresse_1', INS_ADRESSE_1) ; |
$this->addElement('text', 'adresse_2', INS_ADRESSE_2) ; |
$this->addElement('text', 'cp', INS_CODE_POSTAL) ; |