56007a731c696270235eba9916caba73ab69fa9e
[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="{$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   <tr class="pair">
49     <td class="half">
50       <h3><a href="prefs/webredirect">Ma redirection de page WEB</a></h3>
51       <div class='explication'>
52         Tu peux configurer tes redirections WEB
53         http://www.carva.org/{$smarty.session.bestalias}.
54       </div>
55     </td>
56     <td class="half">
57       <h3><a href="prefs/skin">Apparence du site (skins)</a></h3>
58       <div class='explication'>
59         Tu peux changer les couleurs et les images du site.
60       </div>
61     </td>
62   </tr>
63   <tr class="impair">
64     <td class="half">
65       {if $smarty.session.mail_fmt eq html}
66       <h3>
67         <a href="javascript:dynpostkv('prefs', 'mail_fmt', 'texte')">Recevoir les mails en format texte</a>
68       </h3>
69       <div class='explication'>
70         Tu recois tous les mails envoyés par le site
71         (lettre mensuelle, carnet, ...) de préférence
72         <strong>sous forme de html</strong>
73       </div>
74       {else}
75       <h3>
76         <a href="javascript:dynpostkv('prefs', 'mail_fmt', 'html')">Recevoir les mails en HTML</a>
77       </h3>
78       <div class='explication'>
79         Tu recois tous les mails envoyés par le site
80         (lettre mensuelle, carnet, ...) de préférence
81         <strong>sous forme de texte</strong>
82       </div>
83       {/if}
84     </td>
85     <td class="half">
86       <h3>
87         {if $smarty.session.core_rss_hash}
88         <a href="javascript:dynpostkv('prefs', 'rss', 0)">Désactiver les fils rss</a>
89         {else}
90         <a href="javascript:dynpostkv('prefs', 'rss', 1)">Activer les fils rss</a>
91         {/if}
92       </h3>
93       <div class='explication'>
94         Ceci te permet d'utiliser les fils rss du site.
95         Attention, désactiver puis réactiver les fils en change les URL !
96       </div>
97     </td>
98   </tr>
99 </table>
100
101 <br />
102
103 <table class="bicol" summary="Préférences: mdp" cellpadding="3">
104   <tr>
105     <th>Mots de passe et accès au site</th>
106   </tr>
107   <tr class="impair">
108     <td>
109       <h3><a href="password">Changer mon mot de passe pour le site</a></h3>
110       <div class='explication'>
111         permet de changer ton mot de passe pour accéder au site Polytechnique.org
112       </div>
113     </td>
114   </tr>
115   <tr class="pair">
116     <td>
117       <h3><a href="password/smtp">Activer l'accès SMTP et NNTP</a></h3>
118       <div class='explication'>
119         Pour activer ton compte sur le serveur SMTP et NNTP de Polytechnique.org.
120         Cela te permet d'envoyer tes mails plus souplement (SMTP), et de consulter
121         les forums directement depuis ton logiciel habituel de courrier électronique.
122       </div>
123     </td>
124   </tr>
125 </table>
126
127 {* vim:set et sw=2 sts=2 sws=2: *}