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.29 2007-08-27 12:34:32 alexandre_tb Exp $ |
// CVS : $Id: inscription.php,v 1.30 2007-08-28 15:13:25 alexandre_tb Exp $ |
/** |
* Inscription |
* |
32,7 → 32,7 |
//Autres auteurs : |
*@author Florian SCHMITT <florian@ecole-et-nature.org> |
*@copyright Tela-Botanica 2000-2007 |
*@version $Revision: 1.29 $ $Date: 2007-08-27 12:34:32 $ |
*@version $Revision: 1.30 $ $Date: 2007-08-28 15:13:25 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
286,6 → 286,8 |
if ((!$GLOBALS['AUTH']->getAuth())&&($_REQUEST['action']!='inscription')&&($_REQUEST['action']!='inscription_v')) { |
if (isset($_POST['username']) && $_POST['username'] != '') { |
$res .= '<p class="erreur">'.INS_ERREUR_LOGIN.'</p><br />'."\n".inscription_formulaire_envoi_passe(); |
} else if ($_REQUEST['action'] == 'mdp_oubli') { |
$res .= inscription_formulaire_envoi_passe(); |
} else { |
$res .= inscription_AUTH_formulaire_login() ; |
} |
306,6 → 308,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.29 2007-08-27 12:34:32 alexandre_tb |
* remplacement d un die en retour en erreur |
* |
* Revision 1.28 2007-06-26 09:32:32 neiluj |
* debug inscription (warnings) et adaptation php5 |
* |