typo for konqueror
[platal.git] / templates / profile / trombino.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5ddeb07c 3{* Copyright (C) 2003-2007 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
23
24<h1>Trombinoscope</h1>
25
7b2413f6 26<form enctype="multipart/form-data" action="photo/change" method="post">
0337d704 27 <table class="flags" cellspacing="0" summary="Flags">
28 <tr>
29 <td class="rouge"><input type="radio" checked="checked" /></td>
a7de4ef7 30 <td class="texte">privé</td>
0337d704 31 </tr>
32 </table>
33
34 {if ($session.promo ge 1995) || ($session.promo le 2002)}
35 <p>
36 Si tu n'as pas encore fourni de photo, c'est celle du trombinoscope de l'X qui est
a7de4ef7 37 affichée par défaut dans le profil. Si elle ne te plaît pas, ou si tu n'es quand même
0337d704 38 plus un tos, tu peux la remplacer par ta photo en suivant les instructions suivantes.
39 </p>
40 {/if}
41
42 <table class="bicol" cellspacing="0" cellpadding="2">
43 <tr>
44 <th>
45 Photo actuelle
46 </th>
47 <th>
48 Photo en cours de validation<sup>(*)</sup>
49 </th>
50 </tr>
51 <tr>
52 <td class="center">
7b2413f6 53 <img src="photo/{$smarty.session.forlife}" width="200" alt=" [ PHOTO ] " />
0337d704 54 </td>
55 <td class="center half">
56 {if $submited}
7b2413f6 57 <img src="photo/{$smarty.session.forlife}/req" width="200" alt=" [ PHOTO ] " />
0337d704 58 {else}
59 Pas d'image soumise
60 {/if}
61 </td>
62 </tr>
63 <tr>
64 <td colspan="2" class="smaller">
a7de4ef7 65 * Les photos sont soumises à une validation manuelle en raison des législations relatives
66 aux droits d'auteur et à la protection des mineurs. Il faut donc attendre l'intervention
0337d704 67 d'un administrateur pour que la photo soit prise en compte. Tu recevras un mail lorsque ta
a7de4ef7 68 photo aura été contrôlée.
0337d704 69 </td>
70 </tr>
71 <tr>
72 <th colspan="2">
a7de4ef7 73 Actions immédiates
0337d704 74 </th>
75 </tr>
76 <tr>
77 <td {if !$submited}colspan="2"{/if} class="center">
a7de4ef7 78 Si tu ne souhaites plus montrer cette photo tu peux aussi l'effacer en la remplaçant par : <br />
0337d704 79 {if $has_trombi_x}
80 <input type="submit" value="Trombino de l'X" name="trombi" /><br />
81 {/if}
a7de4ef7 82 <input type="submit" value="Image par défaut" name="suppr" />
0337d704 83 </td>
84 {if $submited}
85 <td class="center">
86 Tu peux annuler ta soumission et garder ta photo actuelle : <br />
87 <input type="submit" value="Annuler ta soumission" name="cancel" />
88 </td>
89 {/if}
90 </tr>
91 <tr>
92 <th colspan="2">
93 Changement de ta photo
94 </th>
95 </tr>
96 <tr>
97 <td colspan="2">
98 <p>
a7de4ef7 99 Nous te proposons deux possibilités pour mettre à jour ta photo (30 Ko maximum). Tout dépend
100 de savoir où se trouve ta photo. Si elle est sur ton poste de travail local, c'est la première
0337d704 101 solution qu'il faut choisir.
102 </p>
103 <p>
a7de4ef7 104 Si elle est sur Internet, choisis la seconde solution et nos robots iront la télécharger
105 directement où il faut :-)
0337d704 106 </p>
107 </td>
108 </tr>
109 <tr>
110 <td class="titre">
111 Sur ton ordinateur
112 </td>
113 <td class="titre">
114 Sur Internet
115 </td>
116 </tr>
117 <tr>
118 <td>
119 <input name="userfile" type="file" size="20" maxlength="150" />
120 </td>
121 <td>
122 <input type="text" size="45" maxlength="140" name="photo"
123 value="{$smarty.request.photo|default:"http://www.multimania.com/joe/maphoto.jpg"}" />
124 </td>
125 </tr>
126 <tr>
127 <td class="center">
128 <input type="submit" value="Envoyer !" name="upload" />
129 </td>
130 <td class="center">
131 <input type="submit" value="Envoyer !" name="upload" />
132 </td>
133 </tr>
134 </table>
135
136</form>
137
138
a7de4ef7 139{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}