Happy New Year!
[platal.git] / templates / banana / index.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2011 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 {if isset($banana|smarty:nodefaults)}
24 {$banana|smarty:nodefaults}
25 {else}
26
27 <p class="normal">
28   Tu peux régler quelques paramètres qui apparaîtront sur les messages lorsque
29   tu posteras sur les forums. Cela ne te permettra pas d'être anonyme, puisque
30   tout le monde pourra remonter à ton identité en regardant ta fiche. L'objectif
31   est simplement de permettre plus de convivialité.
32 </p>
33 <p class="normal">
34   Tu pourras voir dans les forums les nouveaux messages mis en valeur (en
35   général en gras). Si tu consultes les forums régulièrement, tu peux en avoir
36   assez de voir tout le contenu du forum&nbsp;: la dernière option te permet de
37   n'afficher que les fils de discussion contenant des messages lus.
38 </p>
39
40 <form action="banana/profile" method="post">
41   {xsrf_token_field}
42   <table class="bicol" cellpadding="3" cellspacing="0" summary="Configuration de Banana">
43     <tr>
44       <th colspan="2">Profil Banana</th>
45     </tr>
46     <tr>
47       <td class="titre">Nom</td>
48       <td><input type="text" name="banananame" value="{$nom}" /></td>
49     </tr>
50     <tr>
51       <td class="titre">Adresse email</td>
52       <td><input type="text" name="bananamail" value="{$mail}" /></td>
53     </tr>
54     <tr>
55       <td class="titre">Signature</td>
56       <td><textarea name="bananasig" cols="50" rows="4">{$sig}</textarea></td>
57     </tr>
58     <tr class="pair">
59       <td class="titre">Affichage des fils de discussion</td>
60       <td>
61         <label><input type="radio" name="bananadisplay" value="0"
62                {if !$disp}checked="checked"{/if} /> Afficher tous les messages</label><br />
63         <label><input type="radio" name="bananadisplay" value="1" {if $disp}checked="checked"{/if} />
64         Afficher seulement les fils de discussion contenant des messages non lus</label>
65       </td>
66     </tr>
67     <tr class="pair">
68       <td class="titre">Aspect de l'arborescence</td>
69       <td>
70         {foreach from=$colors item=color}
71           <label>non-lu <input type="radio" name="unread" value="{$color}" {if $unread eq $color}checked="checked"{/if} /></label>
72           <img src="images/banana/m2{$color}.gif" alt="{$color}" />
73           <label><input type="radio" name="read" value="{$color}" {if $read eq $color}checked="checked"{/if} /> lu</label>
74           <br />
75         {/foreach}
76       </td>
77     </tr>
78     <tr class="pair">
79       <td class="titre">Mise à jour des messages non lus</td>
80       <td>
81         <label><input type="radio" name="bananaupdate" value="1"
82                {if $maj}checked="checked"{/if} /> Automatique</label><br />
83         <label><input type="radio" name="bananaupdate" value="0"
84                {if !$maj}checked="checked"{/if} /> Manuelle</label>
85       </td>
86     </tr>
87     <tr class="pair">
88       <td class="titre" colspan="2">
89         <input type="checkbox" {if $xface}checked="checked"{/if} name="bananaxface" id="xface" />
90         <label for="xface">Afficher mon X-Face plutôt que ma photo s'il est disponible</label>
91       </td>
92     </tr>
93   </table>
94   <div class="center"><input type="submit" name="action" value="Enregistrer" /></div>
95 </form>
96 {/if}
97 {if !$it_is_xnet}
98 <p class="smaller">
99   {icon name="lightbulb" title="Astuce"}Astuce&nbsp;:
100   tu peux également consulter les forums en utilisant un client NNTP tel que
101   Outlook Express ou Thunderbird.<br />N'hésite pas à <a href="password/smtp?doc=nntp">
102   consulter la documentation et à activer ton accès</a> pour utiliser ce service.
103 </p>
104 {/if}
105
106 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}