0337d704 |
1 | {**************************************************************************} |
2 | {* *} |
50a40a33 |
3 | {* Copyright (C) 2003-2006 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 | |
899f754d |
23 | {if !$banana->profile.autoup} |
24 | [<a href='javascript:dynpost("{rel}/{$platal->path}", {ldelim}"updateall": 1{rdelim})'>Mettre à jour</a>] |
25 | {/if} |
26 | |
27 | <table class="cadre_a_onglet" cellpadding="0" cellspacing="0" width="100%"> |
28 | <tr> |
29 | <td> |
30 | <ul id="onglet"> |
31 | <li class="actif">Préférences</li> |
32 | <li><a href="{rel}/banana/subscription">Abonnements</a></li> |
33 | <li><a href="{rel}/banana">Les Forums</a></li> |
34 | </ul> |
35 | </td> |
36 | </tr> |
37 | <tr> |
38 | <td class="conteneur_tab"> |
0337d704 |
39 | |
40 | {if !$smarty.post.action} |
41 | |
899f754d |
42 | <p class="normal"> |
43 | Tu peux régler quelques paramètres qui apparaîtront sur les messages lorsque |
44 | tu posteras sur les forums. Cela ne te permettra pas d'être anonyme, puisque |
45 | tout le monde pourra remonter à ton identité en regardant ta fiche. L'objectif |
46 | est simplement de permettre plus de convivialité. |
47 | </p> |
48 | <p class="normal"> |
49 | Tu pourras voir dans les forums les nouveaux messages mis en valeur (en |
50 | général en gras). Si tu consultes les forums régulièrement, tu peux en avoir |
51 | assez de voir tout le contenu du forum : la dernière option te permet de |
52 | n'afficher que les fils de discussion contenant des messages lus. |
53 | </p> |
0337d704 |
54 | |
899f754d |
55 | <form action="{rel}/banana/profile" method="post"> |
56 | <table class="bicol" cellpadding="3" cellspacing="0" summary="Configuration de Banana"> |
57 | <tr> |
58 | <th colspan="2"> |
59 | Profil Banana |
60 | </th> |
61 | </tr> |
62 | <tr class="pair"> |
63 | <td class="bicoltitre"> |
64 | Nom |
65 | </td> |
66 | <td> |
67 | <input type="text" name="banananame" value="{$nom}" /> |
68 | </td> |
69 | </tr> |
70 | <tr class="impair"> |
71 | <td class="bicoltitre"> |
72 | Adresse électronique |
73 | </td> |
74 | <td> |
75 | <input type="text" name="bananamail" value="{$mail}" /> |
76 | </td> |
77 | </tr> |
78 | <tr class="pair"> |
79 | <td class="bicoltitre"> |
80 | Signature |
81 | </td> |
82 | <td> |
83 | <textarea name="bananasig" cols="50" rows="4">{$sig}</textarea> |
84 | </td> |
85 | </tr> |
86 | <tr class="impair"> |
87 | <td class="bicoltitre"> |
88 | Affichage des fils de discussion |
89 | </td> |
90 | <td> |
91 | <input type="radio" name="bananadisplay" value="0" |
92 | {if !$disp}checked="checked"{/if} /> Afficher tous |
93 | les messages |
94 | <br /> |
95 | <input type="radio" name="bananadisplay" value="1" |
96 | {if $disp}checked="checked"{/if} /> Afficher |
97 | seulement les fils de discussion contenant des messages non lus |
98 | </td> |
99 | </tr> |
100 | <tr class="pair"> |
101 | <td class="bicoltitre"> |
102 | Mise à jour des messages non lus |
103 | </td> |
104 | <td> |
105 | <input type="radio" name="bananaupdate" value="1" |
106 | {if $maj}checked="checked"{/if} /> Automatique |
107 | <br /> |
108 | <input type="radio" name="bananaupdate" value="0" |
109 | {if !$maj}checked="checked"{/if} /> Manuelle |
110 | </td> |
111 | </tr> |
112 | <tr class="impair"> |
113 | <td class="bouton" colspan="2"> |
114 | <input type="submit" name="action" value="OK" /> |
115 | </td> |
116 | </tr> |
117 | </table> |
118 | </form> |
0337d704 |
119 | |
120 | {else} |
899f754d |
121 | <p class="normal"> |
122 | Ton profil est enregistré !!! |
123 | </p> |
0337d704 |
124 | {/if} |
125 | |
899f754d |
126 | </td> |
127 | </tr> |
128 | </table> |
0337d704 |
129 | |
130 | {* vim:set et sw=2 sts=2 sws=2: *} |