| GratiRézo
| Réseau ouvert d'échanges non-marchands
|
| É...Changeons Tout
|
Suivre... |
| |
|
Inscription avec courriel
[[#a]]
(:table class=formulaire style='font-size:x-large;':)
(:cell:)
Pour créer un compte avec l'email {$SearchQuery}, choisir un login.
(:cellnr:)
(:foxmessage:)
(:fox inscriptioncourriel if='!exists Utilisateurs.N{$$nom}' if='equal "{(pagelist group=Utilisateurs name=N $:mail={$$mail}" ""' redirect=Public.ConfirmationCourriel{$$nom}:)
(:foxadd target=Utilisateurs.N{$$nom} template=Utilisateurs.Template:)
(:foxadd target=Site.AuthUser template=Modele.Inscription#c#d:)
(:foxreplace put=overwrite target=Public.Temp template=Modele.Inscription#a#b:)
(:foxcheck name=nom regex='^[a-z0-9A-Z]{2,}$' msg="%red%Pas d'espaces et de caractères spéciaux dans le login[[<<]]":)
(:foxcheck name=nom if='!exists Utilisateurs.N{$$nom}' msg="%red%Ce nom est déjà pris[[<<]]":)
(:foxcheck name=mail regex='^[a-z0-9._-]+@[a-z0-9._-]{2,}\.[a-z]{2,4}$' msg="%red%Le courriel n'est pas valide[[<<]]":)
(:input hidden a '(':)(:input hidden b ')':)(:input hidden motdepasse '{(mdp 8)}':)(:input hidden mail {$SearchQuery}:)
||align=center
||! Login:||(:input text nom placeholder="Ni espaces ni caractères spéciaux" size=20 maxlenght=100:)||
||! Entre la valeur {$Captcha}||(:input captcha:) ||
|| ||(:input submit post:)||
(:foxend inscriptioncourriel:)
(:tableend:)
[[#b]]
|
Inscription sans courriel
[[#c]]
(:table class=formulaire style='font-size:x-large;':)
(:cell:)
(:foxmessage:)
(:fox inscription if='!exists Utilisateurs.N{$$nom}' redirect=Public.ConfirmationCourSans{$$nom}:)
(:foxadd target=Utilisateurs.N{$$nom} template=Utilisateurs.Template:)
(:foxadd target=Site.AuthUser template=Modele.Inscription#c#d:)
(:foxcheck name=nom regex='^[a-z0-9A-Z]{2,}$' msg="%red%Pas d'espaces et de caractères spéciaux dans le login[[<<]]":)
(:foxcheck name=nom if='!exists Utilisateurs.N{$$nom}' msg="%red%Ce nom est déjà pris[[<<]]":)
(:foxcheck name=motdepasse if='equal "{$$motdepasse}" "{$$motdepasse2}"' msg="%red%Mots de passe différents[[<<]]":)
(:foxcheck name=motdepasse regex='^[\S]{6,}' msg="%red%mot de passe trop court[[<<]]":)
(:input hidden a '(':)(:input hidden b ')':)
||align=center
||! Login:||(:input text nom placeholder="Ni espaces ni caractères spéciaux" size=20:)||
||! Mot de passe:||(:input password motdepasse minlength="6" placeholder="au moins six caractères" size=20:)||
||! Confirme le mot de passe:||(:input password motdepasse2 minlength="6" size=20:)||
||! Entre la valeur {$Captcha}||(:input captcha:) ||
|| ||(:input submit post:)||
(:foxend inscription:)
(:tableend:)
[[#d]]
|
|