8c2507ce82f971b81c0f6f97e218e2b0f00dce9c
[platal.git] / templates / profil / naissance.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2004 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23
24 {if $etat_naissance == 'ok'}
25 <script language="javascript" type="text/javascript">
26   <!--
27   alert ("\nDate de naissance enregistrée.\n\nTu peux maintenant modifier ton profil.");
28   // -->
29 </script>
30 {else}
31
32 <h1>Date de naissance</h1>
33
34 <form action="profil.php" method="post">
35   <p>
36   Avant d'accéder à ton profil pour la première fois, tu dois donner ta date de naissance au format JJMMAAAA.
37   Elle ne sera plus demandée par la suite et ne pourra être changée.
38   Elle servira en cas de perte du mot de passe comme sécurité supplémentaire, et uniquement à cela.
39   Elle n'est jamais visible ou lisible.
40   </p>
41   <br />
42   <table class="tinybicol" cellpadding="4" cellspacing="0" summary="Formulaire de naissance">
43     <tr>
44       <th colspan="2">
45       Date de naissance
46       </th>
47     </tr>
48     <tr>
49       <td>
50         <strong>Date</strong> (JJMMAAAA)
51       </td>
52       <td>
53         <input type="text" size="8" maxlength="8" name="birth" />
54       </td>
55     </tr>
56     <tr>
57       <td class="center" colspan="2">
58         <input type="submit" value="Enregistrer" name="submit" />
59       </td>
60     </tr>
61   </table>
62 </form>
63
64
65 {/if}
66
67 {* vim:set et sw=2 sts=2 sws=2: *}