source: TracAccountManager/0.10/acct_mgr/templates/account.cs @ 14

Last change on this file since 14 was 2, checked in by guillaume, 17 years ago

Ajout TracAccountManager en français

File size: 1.9 KB
Line 
1<?cs include "header.cs"?>
2<?cs include "macros.cs"?>
3
4<div id="ctxtnav" class="nav"></div>
5
6<div id="content" class="register">
7
8 <h1>Mon Compte</h1>
9
10 <p>
11 Gestion de votre compte utilisateur.
12 </p>
13
14 <?cs if account.error ?>
15 <div class="system-message">
16  <h2>Erreur</h2>
17  <p><?cs var:account.error ?></p>
18 </div>
19 <?cs /if ?>
20
21 <?cs if account.message ?>
22 <p><?cs var:account.message ?></p>
23 <?cs /if ?>
24
25 <h2>Modification du mot de passe</h2>
26 <?cs if account.save_error ?>
27 <div class="system-message">
28  <h2>Erreur</h2>
29  <p><?cs var:account.save_error ?></p>
30 </div>
31 <?cs /if ?>
32
33 <form method="post" action="">
34  <input type="hidden" name="action" value="change_password" />
35  <div>
36   <label for="old_password">Ancien mot de passe :</label>
37   <input type="password" id="old_password" name="old_password"
38          class="textwidget" size="20" />
39  </div>
40  <div>
41   <label for="password">Nouveau mot de passe :</label>
42   <input type="password" id="password" name="password" class="textwidget"
43          size="20" />
44  </div>
45  <div>
46   <label for="password_confirm">Confirmation du mot de passe :</label>
47   <input type="password" id="password_confirm" name="password_confirm"
48          class="textwidget" size="20" />
49  </div>
50  <input type="submit" value="Modifier le mot de passe" />
51 </form>
52
53 <?cs if:delete_enabled ?>
54 <hr />
55
56 <h2>Suppression de compte</h2>
57 <?cs if account.delete_error ?>
58 <div class="system-message">
59  <h2>Erreur</h2>
60  <p><?cs var:account.delete_error ?></p>
61 </div>
62 <?cs /if ?>
63
64 <form method="post" action=""
65       onsubmit="return confirm('Etes vous sûre de vouloir effacer votre compte ?');">
66  <input type="hidden" name="action" value="delete" />
67  <div>
68   <label for="password">Mot de passe:</label>
69   <input type="password" id="password" name="password" class="textwidget"
70          size="20" />
71  </div>
72  <input type="submit" value="Effacer le compte" />
73 </form>
74 <?cs /if ?>
75
76</div>
77
78<?cs include:"footer.cs"?>
Note: See TracBrowser for help on using the repository browser.