backport patch 441
[platal.git] / templates / preferences.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2006 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 <h1>
24   Préférences
25 </h1>
26
27 <table class="bicol" summary="Préférences: services" cellpadding="0" cellspacing="0">
28   <tr>
29     <th colspan="2">
30     Configuration des différents services du site
31     </th>
32   </tr>
33   {foreach from=$prefs item=pref key=id name=glob}
34   {if $id is even}
35   <tr class="{cycle values="impair,pair"}">
36     {/if}
37     <td class="half">
38       <h3><a href="{rel}/{$pref.url}">{$pref.title}</a></h3>
39       <div class='explication'>{$pref.text|smarty:nodefaults}</div>
40     </td>
41     {if $id is even && $smarty.foreach.glob.last}
42     <td class="half"></td>
43     {/if}
44   {if $id is odd || $smarty.foreach.glob.last}
45   </tr>
46   {/if}
47   {/foreach}
48 </table>
49
50 <br />
51
52 <table class="bicol" summary="Préférences: mdp" cellpadding="3">
53   <tr>
54     <th>Mots de passe et accès au site</th>
55   </tr>
56   <tr class="impair">
57     <td>
58       <h3><a href="{rel}/password">Changer mon mot de passe pour le site</a></h3>
59       <div class='explication'>
60         permet de changer ton mot de passe pour accéder au site Polytechnique.org
61       </div>
62     </td>
63   </tr>
64   <tr class="pair">
65     <td>
66       <h3><a href="{rel}/password/smtp">Activer l'accès SMTP et NNTP</a></h3>
67       <div class='explication'>
68         Pour activer ton compte sur le serveur SMTP et NNTP de Polytechnique.org.
69         Cela te permet d'envoyer tes mails plus souplement (SMTP), et de consulter
70         les forums directement depuis ton logiciel habituel de courrier électronique.
71       </div>
72     </td>
73   </tr>
74 </table>
75
76 {* vim:set et sw=2 sts=2 sws=2: *}