Merge branch 'xorg/maint'
[platal.git] / templates / banana / index.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
c441aabe 3{* Copyright (C) 2003-2014 Polytechnique.org *}
0337d704 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
b5163f52 23{if isset($banana|smarty:nodefaults)}
4f355064 24{$banana|smarty:nodefaults}
b5163f52
FB
25{else}
26
b5163f52
FB
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
e8439508 36 assez de voir tout le contenu du forum&nbsp;: la dernière option te permet de
b5163f52
FB
37 n'afficher que les fils de discussion contenant des messages lus.
38</p>
39
40<form action="banana/profile" method="post">
43cddb05 41 {xsrf_token_field}
b5163f52
FB
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>
2eb2747c 51 <td class="titre">Adresse email</td>
b5163f52
FB
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>
a44f405e
SJ
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>
b5163f52
FB
65 </td>
66 </tr>
67 <tr class="pair">
43cddb05
FB
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">
b5163f52
FB
79 <td class="titre">Mise à jour des messages non lus</td>
80 <td>
a44f405e
SJ
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>
b5163f52
FB
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" />
841ff7e7 90 <label for="xface">Afficher mon X-Face plutôt que ma photo s'il est disponible</label>
b5163f52
FB
91 </td>
92 </tr>
93 </table>
94 <div class="center"><input type="submit" name="action" value="Enregistrer" /></div>
95</form>
b5163f52 96{/if}
4a29ad42 97{if !t($it_is_xnet)}
f31aef7f
FB
98<p class="smaller">
99 {icon name="lightbulb" title="Astuce"}Astuce&nbsp;:
661e78f7 100 tu peux également consulter les forums en utilisant un client NNTP tel que
f31aef7f
FB
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>
57398f98 104{/if}
f31aef7f 105
448c8cdc 106{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}