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.php,v 1.15 2006-06-01 10:00:35 alexandre_tb Exp $ |
// CVS : $Id: inscription.php,v 1.16 2006-07-04 09:38:31 alexandre_tb Exp $ |
/** |
* Inscription |
* |
32,7 → 32,7 |
//Autres auteurs : |
*@author Florian SCHMITT <florian@ecole-et-nature.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.15 $ $Date: 2006-06-01 10:00:35 $ |
*@version $Revision: 1.16 $ $Date: 2006-07-04 09:38:31 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
114,6 → 114,11 |
} |
} |
|
// On ajoute la règle de vérification mail uniquement lors de l inscription |
if ($_REQUEST['action'] == 'inscription') { |
$this->registerRule('doublonmail', 'callback', 'verif_doublonMail'); |
$this->addRule('email', INS_MAIL_DOUBLE, 'doublonmail', true); |
} |
//pour la modification d'une inscription, on charge les valeurs par défauts |
if ($_REQUEST['action'] == 'modifier') { |
$formulaire->addElement('hidden', 'action', 'modifier_v') ; |
220,6 → 225,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.15 2006/06/01 10:00:35 alexandre_tb |
* correction bug désinscription des appli cliente |
* |
* Revision 1.14 2006/04/10 09:48:16 alexandre_tb |
* Correction de bug pour les inscriptions aux autres applications |
* |