Commit | Line | Data |
---|---|---|
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 | ||
46ae38a9 FB |
23 | <table class="bicol" style="margin-bottom: 1em" |
24 | summary="Profil : Informations générales"> | |
25 | <tr> | |
26 | <th colspan="2"> | |
27 | Informations générales | |
28 | </th> | |
29 | </tr> | |
30 | <tr> | |
31 | <td colspan="2" class="flags"> | |
32 | <span class="vert"> | |
33 | <input type="checkbox" disabled="disabled" checked="checked" /> | |
34 | </span> | |
35 | <span class="texte"> | |
36 | site public | |
37 | </span> | |
38 | </td> | |
39 | </tr> | |
40 | <tr> | |
41 | <td class="colg"> | |
42 | <span class="titre">Nom</span> | |
43 | <span class="comm"></span> | |
44 | </td> | |
45 | <td class="cold"> | |
46 | <input type='text' name='nom' {if $errors.nom}class="error"{/if} value="{$nom}" /> | |
47 | </td> | |
48 | </tr> | |
49 | <tr> | |
50 | <td class="colg"> | |
51 | <span class="titre">Prénom</span> | |
52 | <span class="comm"></span> | |
53 | </td> | |
54 | <td class="cold"> | |
55 | <input type='text' name='prenom' {if $errors.prenom}class="error"{/if} value="{$prenom}" /> | |
56 | </td> | |
57 | </tr> | |
58 | <tr> | |
59 | <td class="colg"> | |
60 | <span class="titre">Promotion</span> | |
61 | </td> | |
62 | <td class="cold"> | |
63 | <span class="nom">X{$promo}{if ($promo != $promo_sortie - 3)} - X{math equation="a - b" a=$promo_sortie b=3}{/if}</span> | |
64 | <span class="lien"><a href="profile/orange">modifier</a>{if ($promo_sortie -3 == $promo)} pour les oranges{/if}</span> | |
65 | </td> | |
66 | </tr> | |
67 | <tr> | |
68 | <td class="colg"> | |
69 | <span class="titre">Nom d'usage</span><br /> | |
70 | {if $smarty.session.sexe} | |
71 | <span class="comm">(Notamment nom d'épouse)</span> | |
72 | {else} | |
73 | <span class="comm">(si différent de {$nom} seulement)</span> | |
74 | {/if} | |
75 | </td> | |
76 | <td class="cold"> | |
77 | <span class="nom">{$nom_usage|default:"Aucun"}</span> | |
78 | <span class="lien"><a href="profile/usage">modifier</a></span> | |
79 | </td> | |
80 | </tr> | |
81 | <tr> | |
7bff4cb0 FB |
82 | <td class="titre">Date de naissance</td> |
83 | <td><input type="text" {if $errors.naissance}class="error"{/if} name="naissance" value="{$naissance}" /></td> | |
84 | </tr> | |
85 | <tr> | |
46ae38a9 FB |
86 | <td class="colg"> |
87 | <span class="titre">Nationalité</span> | |
88 | </td> | |
89 | <td class="cold"> | |
90 | <select name="nationalite"> | |
91 | {select_nat valeur=$nationalite} | |
92 | </select> | |
93 | </td> | |
94 | </tr> | |
95 | <tr class="pair"> | |
96 | <td class="colg"> | |
97 | <span class="titre">Application</span><br /> | |
98 | <span class="comm">(4ème année de l'X)</span> | |
99 | </td> | |
100 | <td class="cold"> | |
101 | <select name="appli1[id]" onchange="fillType(this.form['appli1[type]'], this.selectedIndex-1);"> | |
102 | {applis_options selected=$appli1.id} | |
103 | </select> | |
104 | <br /> | |
105 | <input type="hidden" name="appli1_tmp" value="{$appli1.type}" /> | |
106 | <select name="appli1[type]"> | |
107 | <option value=""></option> | |
108 | </select> | |
109 | </td> | |
110 | </tr> | |
111 | <tr class="pair"> | |
112 | <td class="dcolg"> | |
113 | <span class="titre">Post-application</span> | |
114 | </td> | |
115 | <td class="dcold"> | |
116 | <select name="appli2[id]" onchange="fillType(this.form['appli2[type]'], this.selectedIndex-1);"> | |
117 | {applis_options selected=$appli2.id} | |
118 | </select> | |
119 | <br /> | |
120 | <input type="hidden" name="appli2_tmp" value="{$appli2.type}" /> | |
121 | <select name="appli2[type]"> | |
122 | <option value=""></option> | |
123 | </select> | |
124 | </td> | |
125 | </tr> | |
126 | </table> | |
0337d704 | 127 | |
33ae80b5 | 128 | {if !$no_private_key} |
46ae38a9 FB |
129 | <table class="bicol" style="margin-bottom: 1em" |
130 | summary="Profil : Informations générales"> | |
131 | <tr> | |
132 | <th> | |
133 | Synchronisation avec l'AX | |
134 | </th> | |
135 | </tr> | |
136 | <tr> | |
137 | <td> | |
138 | <p> | |
139 | Le service annuaire de l'<a href='http://www.polytechniciens.com'>AX</a> met à jour l'annuaire papier à partir des informations que tu lui fournis. Tu peux choisir ici d'envoyer directement les données de ta fiche Polytechnique.org vers ta <a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&anc_id={$matricule_ax}">fiche AX</a>. | |
140 | </p> | |
141 | <p> | |
142 | L'opération de synchronisation prend en compte toutes les informations que tu as marquées comme transmises à l'AX (en orange ou en vert). Elle peut alors effacer, modifier ou rajouter des informations sur ta <a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&anc_id={$matricule_ax}">fiche AX</a> selon ce qui s'y trouve déjà. | |
143 | </p> | |
144 | <p class="center"> | |
145 | <a href="profile/edit/general?synchro_ax=confirm" onclick="return confirm('Es-tu sûr de vouloir lancer la synchronisation ?')"><input type="button" value="Synchroniser"/></a> | |
146 | </p> | |
147 | </td> | |
148 | </tr> | |
149 | <tr> | |
150 | <td class="col"> | |
151 | <table class="flags" cellspacing="0" summary="Flags"> | |
152 | <tr> | |
153 | <td class="orange"> | |
154 | <input type="checkbox" name="synchro_ax" {if $synchro_ax}checked="checked" {/if}/> | |
155 | </td> | |
156 | <td class="texte"> | |
157 | Autoriser la synchronisation vers l'AX par des administrateurs ou des scripts automatiques. | |
158 | </td> | |
159 | </tr> | |
160 | </table> | |
161 | </td> | |
162 | </tr> | |
163 | </table> | |
33ae80b5 | 164 | {/if} |
76011d98 | 165 | |
46ae38a9 FB |
166 | <table class="bicol" style="margin-bottom: 1em" |
167 | summary="Profil: Trombinoscope"> | |
168 | <tr> | |
169 | <th colspan="2"> | |
170 | Trombinoscope | |
171 | </th> | |
172 | </tr> | |
173 | <tr> | |
174 | <td class="flags" colspan="2"> | |
175 | <span class="vert"><input type="checkbox" name="photo_pub" {if $photo_pub eq 'public'}checked="checked" {/if}/></span> | |
176 | <span class="texte">site public</span> | |
177 | </td> | |
178 | </tr> | |
179 | <tr> | |
180 | <td {if !$nouvellephoto}colspan="2"{/if} class="center" style="width: 49%"> | |
181 | <div class="titre">Ta photo actuelle</div> | |
182 | <img src="photo/{$smarty.session.forlife}" alt=" [ PHOTO ] " style="max-height: 250px; margin-top: 1em" /> | |
183 | </td> | |
184 | {if $nouvellephoto} | |
185 | <td class="center" style="width: 49%"> | |
186 | <div class="titre">Photo en attente de validation</div> | |
187 | <div> | |
188 | <a href="profile/{$smarty.session.forlife}?modif=new" class="popup2"> | |
189 | Ta fiche avec cette photo | |
190 | </a> | |
191 | </div> | |
192 | <img src="photo/{$smarty.session.forlife}/req" alt=" [ PHOTO ] " style="max-height: 250px; margin-top: 1em" /> | |
193 | </td> | |
194 | {/if} | |
195 | </tr> | |
196 | <tr class="pair"> | |
197 | <td colspan="2"> | |
198 | Pour profiter de cette fonction intéressante, tu dois disposer | |
199 | quelque part (sur ton ordinateur ou sur Internet) d'une photo | |
200 | d'identité (dans un fichier au format JPEG, PNG ou GIF).<br /> | |
201 | <div class="center"> | |
202 | <a href="photo/change">Éditer ta photo</a> | |
203 | </div> | |
204 | </td> | |
205 | </tr> | |
206 | </table> | |
207 | ||
208 | <table class="bicol" style="margin-bottom: 1em" | |
209 | summary="Profil: Divers"> | |
210 | <tr> | |
211 | <th colspan="2"> | |
212 | Divers | |
213 | </th> | |
214 | </tr> | |
215 | <tr> | |
216 | <td colspan="2" class="pflags"> | |
217 | <table class="flags" summary="Flags" cellpadding="0" cellspacing="0"> | |
218 | <tr> | |
219 | <td class="rouge"> | |
220 | <input type="checkbox" disabled="disabled" checked="checked" /> | |
221 | </td> | |
222 | <td class="texte"> | |
223 | privé | |
224 | </td> | |
225 | </tr> | |
226 | </table> | |
227 | </td> | |
228 | </tr> | |
229 | <tr> | |
230 | <td class="colg"> | |
231 | <span class="titre">Surnom</span> | |
232 | </td> | |
233 | <td class="cold"> | |
234 | <input type="text" size="35" maxlength="64" | |
235 | {if $errors.nick}class="error"{/if} name="nick" value="{$nick}" /> | |
236 | </td> | |
237 | </tr> | |
238 | <tr> | |
239 | <td colspan="2" class="pflags"> | |
240 | <table class="flags" summary="Flags" cellpadding="0" cellspacing="0"> | |
241 | <tr> | |
242 | <td class="vert"> | |
243 | <input type="radio" name="mobile_pub" {if $mobile_pub eq 'public'}checked="checked"{/if} value='public' /> | |
244 | </td> | |
245 | <td class="texte"> | |
246 | site public | |
247 | </td> | |
248 | <td class="orange"> | |
249 | <input type="radio" name="mobile_pub" {if $mobile_pub eq 'ax'}checked="checked"{/if} value='ax' /> | |
250 | </td> | |
251 | <td class="texte"> | |
252 | transmis à l'AX | |
253 | </td> | |
254 | <td class="rouge"> | |
255 | <input type="radio" name="mobile_pub" {if $mobile_pub eq 'private'}checked="checked"{/if} value='private' /> | |
256 | </td> | |
257 | <td class="texte"> | |
258 | privé | |
259 | </td> | |
260 | <td class="texte"> | |
261 | <a href="Xorg/FAQ?display=light#flags" class="popup_800x240">Quelle couleur ??</a> | |
262 | </td> | |
263 | </tr> | |
264 | </table> | |
265 | </td> | |
266 | </tr> | |
267 | <tr> | |
268 | <td class="colg"> | |
269 | <span class="titre">Téléphone mobile</span> | |
270 | </td> | |
271 | <td class="cold"> | |
272 | <input type="text" size="18" maxlength="18" name="mobile" | |
273 | {if $errors.mobile}class="error"{/if} value="{$mobile}" /> | |
274 | </td> | |
275 | </tr> | |
276 | <tr> | |
277 | <td colspan="2" class="flags"> | |
278 | <table class="flags" summary="Flags" cellpadding="0" cellspacing="0"> | |
279 | <tr> | |
280 | <td class="vert"> | |
281 | <input type="checkbox" name="web_pub" {if $web_pub eq 'public'}checked="checked"{/if} /> | |
282 | </td> | |
283 | <td class="texte"> | |
284 | site public | |
285 | </td> | |
286 | <td class="texte"> | |
287 | <a href="Xorg/FAQ?display=light#flags" class="popup_800x240">Quelle couleur ??</a> | |
288 | </td> | |
289 | </tr> | |
290 | </table> | |
291 | </td> | |
292 | </tr> | |
293 | <tr> | |
294 | <td class="dcolg"> | |
295 | <span class="titre">Page web Perso</span> | |
296 | </td> | |
297 | <td class="dcold"> | |
298 | <input type="text" size="35" maxlength="95" name="web" | |
299 | {if $errors.web}class="error"{/if} value="{$web}" /> | |
300 | </td> | |
301 | </tr> | |
302 | <tr> | |
303 | <td colspan="2" class="pflags"> | |
304 | <table class="flags" summary="Flags" cellpadding="0" cellspacing="0"> | |
305 | <tr> | |
306 | <td class="vert"> | |
307 | <input type="checkbox" name="freetext_pub" {if $freetext_pub eq 'public'}checked="checked"{/if} /> | |
308 | </td> | |
309 | <td class="texte"> | |
310 | site public | |
311 | </td> | |
312 | <td class="texte"> | |
313 | <a href="Xorg/FAQ?display=light#flags" class="popup_800x240">Quelle couleur ??</a> | |
314 | </td> | |
315 | </tr> | |
316 | </table> | |
317 | </td> | |
318 | </tr> | |
319 | <tr> | |
320 | <td class="dcolg"> | |
321 | <div> | |
322 | <span class="titre">Complément libre</span> | |
323 | <span class="comm">Commentaire ? ICQ ? etc...</span> | |
324 | </div> | |
325 | <div class="smaller" style="margin-top: 30px"> | |
326 | <a href="wiki_help/notitle" class="popup3"> | |
327 | {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée pour le commentaire | |
328 | </a> | |
0447150d | 329 | <div class="center"> |
46ae38a9 FB |
330 | <input type="submit" name="preview" value="Aperçu" |
331 | onclick="previewWiki('freetext', 'ft_preview', true, 'ft_preview'); return false;" /> | |
3950bc21 | 332 | </div> |
46ae38a9 FB |
333 | </div> |
334 | </td> | |
335 | <td class="dcold"> | |
336 | <div id="ft_preview" style="display: none"></div> | |
337 | <textarea name="freetext" {if $errors.freetext}class="error"{/if} | |
338 | id="freetext" rows="8" cols="35" >{$freetext}</textarea> | |
339 | </td> | |
340 | </tr> | |
341 | </table> | |
0337d704 | 342 | |
a7de4ef7 | 343 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |