--- /dev/null
+{***************************************************************************
+ * Copyright (C) 2003-2004 Polytechnique.org *
+ * http://opensource.polytechnique.org/ *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+ ***************************************************************************
+ $Id: error.tpl,v 1.1 2004-09-05 22:01:11 x2000habouzit Exp $
+ ***************************************************************************}
+
+{dynamic}
+
+{$html|smarty:nodefaults}
+
+{/dynamic}
+
+{* vim:set et sw=2 sts=2 sws=2: *}
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: inscrire.charte.tpl,v 1.4 2004-08-31 11:25:39 x2000habouzit Exp $
+ $Id: index.tpl,v 1.1 2004-09-05 22:01:11 x2000habouzit Exp $
***************************************************************************}
-<form action="{$smarty.server.REQUEST_URI}" method="post">
+<form action="{"inscription/step1.php"|url}" method="post">
<div class="rubrique">
Conditions générales
</div>
</p>
{include file="docs/charte.tpl"}
<div class="center">
- <input type="hidden" value="OUI" name="charte" />
<input type="submit" value="J'accepte ces conditions" name="submit" />
</div>
</form>
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: inscrire.form_id.tpl,v 1.5 2004-08-31 11:25:39 x2000habouzit Exp $
+ $Id: step1.tpl,v 1.1 2004-09-05 22:01:11 x2000habouzit Exp $
***************************************************************************}
-
{dynamic}
-
-{foreach from=$erreur item=err}
-<p class="erreur">{$err}</p>
-{/foreach}
-
-<form action="{$smarty.server.REQUEST_URI}" method="post">
+<p class='erreur'>{$erreur|smarty:nodefaults|nl2br}</p>
+
+<form action="{"inscription/step2.php"|url}" method="post" id='idf'>
<div class="rubrique">
Identification
</div>
</tr>
<tr>
<td colspan="2" class="center">
- <input type="hidden" value="OUI" name="charte" />
- <input type="submit" value="Continuer l'inscription" name="submit" />
+ <input type="submit" value="Continuer l'inscription" />
</td>
</tr>
</table>
</form>
-
{/dynamic}
+
{* vim:set et sw=2 sts=2 sws=2: *}
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: inscrire.form_data.tpl,v 1.4 2004-08-31 11:25:39 x2000habouzit Exp $
+ $Id: step2.tpl,v 1.1 2004-09-05 22:01:11 x2000habouzit Exp $
***************************************************************************}
{dynamic}
-{foreach from=$erreur item=err}
-<p class="erreur">{$err|smarty:nodefaults}</p>
-{/foreach}
+<p class="erreur">{$erreur|smarty:nodefaults|nl2br}</p>
-<form action="{$gotourl|default:$smarty.server.REQUEST_URI}" method="post" name="infos">
+<form action="{$gotourl|default:"step3.php"}" method="post">
{if $homonyme}
<p>
- Tu as un homonyme dans notre base de données, nous ne pouvons donc pas te donner
- l'adresse <strong>{$loginbis}@polytechnique.org</strong>, ton adresse sera
- <strong>{$mailorg}@polytechnique.org</strong> et l'adresse précédente sera
- redirigée vers un auto-reply indiquant l'existence d'homonymes. Sache que tu peux
- demander un alias qui te donne une autre adresse de ton choix.
+ Ton adresse sera : <strong>{$forlife}@polytechnique.org</strong>
</p>
{else}
<p>
- Ton adresse sera :<br/>
- <strong>{$mailorg}@polytechnique.org</strong>
+ Tu n'as pour le moment aucun homonyme dans notre base de données, nous allons
+ donc te donner l'adresse <strong>{$mailorg}@polytechnique.org</strong>, en plus
+ de ton adresse à vie <strong>{$forlife}@polytechnique.org</strong>.
+ Sache que tu peux perdre cette adresse si un homonyme s'inscrit (même si cela reste assez rare).
</p>
{/if}
<tr>
<td class="titre">
E-mail<br />
- <span class="smaller">(Premier forward)</span>
+ <span class="smaller">(Première redirection)</span>
</td>
<td>
<input type="text" size="35" maxlength="50" name="email" value="{$smarty.request.email}" />
</tr>
<tr>
<td colspan="2" class="center">
- <input type="hidden" value="OUI" name="charte" />
<input type="hidden" value="{$smarty.request.nom}" name="nom" />
<input type="hidden" value="{$smarty.request.prenom}" name="prenom" />
<input type="hidden" value="{$smarty.request.promo}" name="promo" />
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: inscrire.preins.tpl,v 1.3 2004-08-31 11:25:39 x2000habouzit Exp $
+ $Id: step3.tpl,v 1.1 2004-09-05 22:01:11 x2000habouzit Exp $
***************************************************************************}
{dynamic}
<p>
Les instructions te permettant notamment d'activer ton e-mail
-<strong>{$mailorg}@polytechnique.org</strong>, ainsi que ton mot de passe pour
+<strong>{$forlife}@polytechnique.org</strong>, ainsi que ton mot de passe pour
accéder au site viennent de t'être envoyés à l'adresse
<strong>{$smarty.request.email}</strong>.
</p>
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: inscrire.mail.tpl,v 1.2 2004-08-31 11:25:40 x2000habouzit Exp $
+ $Id: inscrire.mail.tpl,v 1.3 2004-09-05 22:01:12 x2000habouzit Exp $
***************************************************************************}
{config_load file="mails.conf" section="inscrire"}
Après activation, tes paramètres seront :
-login : {$mailorg}
+login : {$forlife}
mot de passe : {$pass_clair}
Rends-toi sur la page web suivante afin d'activer ta pré-inscription, et de changer ton mot de passe en quelque chose de plus facile à mémoriser :
-{$baseurl}/step4.php?ref={$ins_id}
+{$baseurl}/inscription/step4.php?ref={$ins_id}
Si en cliquant dessus tu n'y arrives pas, copie intégralement l'adresse dans la barre de ton navigateur.