geoloc sur xnet
[platal.git] / templates / profil / general.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
dd502514 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
23
24{include file="applis.js.tpl"}
25<div class="blocunite_tab">
26 <table class="bicol" cellspacing="0" cellpadding="0"
27 summary="Profil : Informations générales">
28 <tr>
29 <th colspan="2">
30 Informations générales
31 </th>
32 </tr>
33 <tr>
34 <td colspan="2" class="pflags">
35 <table class="flags" cellspacing="0" summary="Flags">
36 <tr>
37 <td class="vert">
38 <input type="checkbox" disabled="disabled" checked="checked" />
39 </td>
40 <td class="texte">
41 site public
42 </td>
43 </tr>
44 </table>
45 </td>
46 </tr>
47 <tr>
48 <td class="colg">
49 <span class="titre">Nom</span>
50 <span class="comm"></span>
51 </td>
52 <td class="cold">
53 <input type='text' name='nom' value="{$nom}" />
54 </td>
55 </tr>
56 <tr>
57 <td class="colg">
58 <span class="titre">Prénom</span>
59 <span class="comm"></span>
60 </td>
61 <td class="cold">
62 <input type='text' name='prenom' value="{$prenom}" />
63 </td>
64 </tr>
65 <tr>
66 <td class="colg">
67 <span class="titre">Promotion</span>
68 </td>
69 <td class="cold">
70 <span class="nom">X{$promo}{if ($promo != $promo_sortie - 3)} - X{math equation="a - b" a=$promo_sortie b=3}{/if}</span>
71 <span class="lien"><a href="orange.php">modifier</a>{if ($promo_sortie -3 == $promo)} pour les oranges{/if}</span>
72 </td>
73 </tr>
74 <tr>
75 <td class="colg">
76 <span class="titre">Nom d'usage</span><br />
77 {if $smarty.session.sexe}
78 <span class="comm">(Notamment nom d'épouse)</span>
79 {else}
80 <span class="comm">(si différent de {$nom} seulement)</span>
81 {/if}
82 </td>
83 <td class="cold">
84 <span class="nom">{$nom_usage|default:"Aucun"}</span>
85 <span class="lien"><a href="nomusage.php">modifier</a></span>
86 </td>
87 </tr>
88 <tr>
89 <td class="colg">
90 <span class="titre">Nationalité</span>
91 </td>
92 <td class="cold">
93 <select name="nationalite">
94 {select_nat valeur=$nationalite}
95 </select>
96 </td>
97 </tr>
98 <tr>
99 <td class="colg">
100 <span class="titre">Application</span><br />
101 <span class="comm">(4ème année de l'X)</span>
102 </td>
103 <td class="cold">
104 <select name="appli_id1" onchange="fillType(this.form.appli_type1, this.selectedIndex-1);">
105 {applis_options selected=$appli_id1}
106 </select>
107 <br />
108 <select name="appli_type1">
109 <option value=""></option>
110 </select>
111 <script type="text/javascript">
112 <!--
113 fillType(document.forms.prof_annu.appli_type1, document.forms.prof_annu.appli_id1.selectedIndex-1);
114 selectType(document.forms.prof_annu.appli_type1, '{$appli_type1}');
115 //-->
116 </script>
117 </td>
118 </tr>
119 <tr>
120 <td class="dcolg">
121 <span class="titre">Post-application</span>
122 </td>
123 <td class="dcold">
124 <select name="appli_id2" onchange="fillType(this.form.appli_type2, this.selectedIndex-1);">
125 {applis_options selected=$appli_id2}
126 </select>
127 <br />
128 <select name="appli_type2">
129 <option value=""></option>
130 </select>
131 <script type="text/javascript">
132 <!--
133 fillType(document.forms.prof_annu.appli_type2, document.forms.prof_annu.appli_id2.selectedIndex-1);
134 selectType(document.forms.prof_annu.appli_type2, '{$appli_type2}');
135 //-->
136 </script>
137 </td>
138 </tr>
139 </table>
140</div>
141
142<div class="blocunite">
3b3e9d15 143 <table class="bicol" cellspacing="0" cellpadding="0"
144 summary="Profil : Informations générales">
145 <tr>
146 <th>
147 Synchronisation avec l'AX
148 </th>
149 </tr>
150 <tr>
dd502514 151 <td>
152 <p>
153 Le service annuaire de l'<a href='http://www.polytechniciens.com'>AX</a> met à jour l'annuaire papier à partir des informations que tu lui envoies. Tu peux choisir ici de récupérer directement ces données pour l'annuaire en ligne.
154 </p>
155 <p>
156 La synchro prend en compte toutes les informations que tu as signalés à l'AX (en orange ou en vert). Elle peut alors effacer, modifier ou rajouter des informations selon ce qu'elle trouve sur ta <a href="http://www.polytechniciens.com/index.php?page=AX_FICHE_ANCIEN&amp;anc_id={$matricule_ax}">fiche AX</a>.
157 </p>
158 <p class="center">
159 <a href="?synchro_ax=confirm" onclick="return confirm('Es-tu sûr de vouloir lancer la synchronisation ?')"><input type="button" value="Synchroniser"/></a>
160 </p>
3b3e9d15 161 </td>
162 </tr>
163 <tr>
164 <td class="col">
165 <table class="flags" cellspacing="0" summary="Flags">
166 <tr>
167 <td class="orange">
168 <input type="checkbox" name="synchro_ax" {if $synchro_ax}checked="checked" {/if}/>
169 </td>
170 <td class="texte">
dd502514 171 Autoriser la synchronisation depuis l'AX par des administrateurs ou des scripts automatiques.
3b3e9d15 172 </td>
173 </tr>
174 </table>
175 </td>
176 </tr>
177 </table>
178</div>
179
180<div class="blocunite">
0337d704 181 <table class="bicol" cellspacing="0" cellpadding="0"
182 summary="Profil: Trombinoscope">
183 <tr>
184 <th colspan="3">
185 Trombinoscope
186 </th>
187 </tr>
188 <tr>
189 <td class="col" colspan="3">
190 Pour profiter de cette fonction intéressante, tu dois disposer
191 quelque part (sur ton ordinateur ou sur Internet) d'une photo
192 d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
193 <div class="center">
194 <span class="lien">
195 <a href="trombino.php">Éditer ta photo</a>
196 </span>
197 </div>
198 </td>
199 </tr>
200 <tr>
201 <td class="col" colspan="3">
202 <table class="flags" cellspacing="0" summary="Flags">
203 <tr>
204 <td class="vert">
205 <input type="checkbox" name="photo_pub" {if $photo_pub eq 'public'}checked="checked" {/if}/>
206 </td>
207 <td class="texte">
208 site public
209 </td>
210 </tr>
211 </table>
212 <table cellspacing="0" cellpadding="0" summary="Trombinoscope">
213 <tr>
214 <td class="dcold">
215 Voilà la photo qui apparaîtra sur la fiche de ton profil{if $nouvellephoto} (tu viens
216 de changer ta photo, celle-ci correspond à ton ancien
217 profil car la nouvelle n'a pas encore été validée par un administrateur du site !
218 <a href="{"fiche.php"|url}?user={$smarty.session.forlife}&amp;modif=new" class="popup2">Ta fiche avec la nouvelle photo</a>)
219 {/if}.
220 </td>
221 <td class="dcolg">
222 <img src="getphoto.php?x={$smarty.session.forlife}" alt=" [ PHOTO ] " />
223 </td>
224 </tr>
225 </table>
226 </td>
227 </tr>
228 </table>
229</div>
230<div class="blocunite">
231 <table class="bicol" cellspacing="0" cellpadding="0"
232 summary="Profil: Divers">
233 <tr>
234 <th colspan="2">
235 Divers
236 </th>
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="rouge">
243 <input type="checkbox" disabled="disabled" checked="checked" />
244 </td>
245 <td class="texte">
246 privé
247 </td>
248 </tr>
249 </table>
250 </td>
251 </tr>
252 <tr>
253 <td class="colg">
254 <span class="titre">Surnom</span>
255 </td>
256 <td class="cold">
257 <input type="text" size="35" maxlength="64" name="nickname" value="{$nickname}" />
258 </td>
259 </tr>
260 <tr>
261 <td colspan="2" class="pflags">
262 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
263 <tr>
264 <td class="vert">
265 <input type="radio" name="mobile_pub" {if $mobile_pub eq 'public'}checked="checked"{/if} value='public' />
266 </td>
267 <td class="texte">
268 site public
269 </td>
270 <td class="orange">
271 <input type="radio" name="mobile_pub" {if $mobile_pub eq 'ax'}checked="checked"{/if} value='ax' />
272 </td>
273 <td class="texte">
274 transmis à l'AX
275 </td>
276 <td class="rouge">
277 <input type="radio" name="mobile_pub" {if $mobile_pub eq 'private'}checked="checked"{/if} value='private' />
278 </td>
279 <td class="texte">
280 privé
281 </td>
282 <td class="texte">
283 <a href="{"docs/faq.php"|url}#flags" class="popup_800x240">Quelle couleur ??</a>
284 </td>
285 </tr>
286 </table>
287 </td>
288 </tr>
289 <tr>
290 <td class="colg">
291 <span class="titre">Téléphone mobile</span>
292 </td>
293 <td class="cold">
294 <input type="text" size="18" maxlength="18" name="mobile"
295 value="{$mobile}" />
296 </td>
297 </tr>
298 <tr>
299 <td colspan="2" class="flags">
300 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
301 <tr>
302 <td class="vert">
303 <input type="checkbox" name="web_pub" {if $web_pub eq 'public'}checked="checked"{/if} />
304 </td>
305 <td class="texte">
306 site public
307 </td>
308 <td class="texte">
309 <a href="{"docs/faq.php"|url}#flags" class="popup_800x240">Quelle couleur ??</a>
310 </td>
311 </tr>
312 </table>
313 </td>
314 </tr>
315 <tr>
316 <td class="dcolg">
317 <span class="titre">Page web Perso</span>
318 </td>
319 <td class="dcold">
320 <input type="text" size="35" maxlength="95" name="web"
321 value="{$web}" />
322 </td>
323 </tr>
324 <tr>
325 <td colspan="2" class="pflags">
326 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
327 <tr>
328 <td class="vert">
329 <input type="checkbox" name="freetext_pub" {if $freetext_pub eq 'public'}checked="checked"{/if} />
330 </td>
331 <td class="texte">
332 site public
333 </td>
334 <td class="texte">
335 <a href="{"docs/faq.php"|url}#flags" class="popup_800x240">Quelle couleur ??</a>
336 </td>
337 </tr>
338 </table>
339 </td>
340 </tr>
341 <tr>
342 <td class="dcolg">
343 <span class="titre">Complément libre</span>
344 <span class="comm">Commentaire? ICQ? etc...</span>
345 </td>
346 <td class="dcold">
347 <textarea name="freetext" rows="3" cols="29" >{$freetext}</textarea>
348 </td>
349 </tr>
350 </table>
351</div>
352
353{* vim:set et sw=2 sts=2 sws=2: *}