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