Commit | Line | Data |
---|---|---|
0337d704 | 1 | {**************************************************************************} |
2 | {* *} | |
179afa7f | 3 | {* Copyright (C) 2003-2008 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 | 23 | <table class="bicol" style="margin-bottom: 1em" |
e8439508 | 24 | summary="Profil : Informations générales"> |
46ae38a9 FB |
25 | <tr> |
26 | <th colspan="2"> | |
0c6cbd63 | 27 | <div class="flags" style="float: left"> |
ee12da4e FB |
28 | <input type="checkbox" disabled="disabled" checked="checked" /> |
29 | {icon name="flag_green" title="site public"} | |
0c6cbd63 | 30 | </div> |
46ae38a9 FB |
31 | Informations générales |
32 | </th> | |
33 | </tr> | |
34 | <tr> | |
0c6cbd63 | 35 | <td> |
46ae38a9 FB |
36 | <span class="titre">Nom</span> |
37 | <span class="comm"></span> | |
38 | </td> | |
0c6cbd63 | 39 | <td> |
46ae38a9 FB |
40 | <input type='text' name='nom' {if $errors.nom}class="error"{/if} value="{$nom}" /> |
41 | </td> | |
42 | </tr> | |
43 | <tr> | |
0c6cbd63 | 44 | <td> |
46ae38a9 FB |
45 | <span class="titre">Prénom</span> |
46 | <span class="comm"></span> | |
47 | </td> | |
0c6cbd63 | 48 | <td> |
46ae38a9 FB |
49 | <input type='text' name='prenom' {if $errors.prenom}class="error"{/if} value="{$prenom}" /> |
50 | </td> | |
51 | </tr> | |
52 | <tr> | |
0c6cbd63 | 53 | <td> |
46ae38a9 FB |
54 | <span class="titre">Promotion</span> |
55 | </td> | |
0c6cbd63 | 56 | <td> |
46ae38a9 FB |
57 | <span class="nom">X{$promo}{if ($promo != $promo_sortie - 3)} - X{math equation="a - b" a=$promo_sortie b=3}{/if}</span> |
58 | <span class="lien"><a href="profile/orange">modifier</a>{if ($promo_sortie -3 == $promo)} pour les oranges{/if}</span> | |
59 | </td> | |
60 | </tr> | |
61 | <tr> | |
0c6cbd63 | 62 | <td> |
46ae38a9 FB |
63 | <span class="titre">Nom d'usage</span><br /> |
64 | {if $smarty.session.sexe} | |
65 | <span class="comm">(Notamment nom d'épouse)</span> | |
66 | {else} | |
67 | <span class="comm">(si différent de {$nom} seulement)</span> | |
68 | {/if} | |
69 | </td> | |
0c6cbd63 | 70 | <td> |
46ae38a9 FB |
71 | <span class="nom">{$nom_usage|default:"Aucun"}</span> |
72 | <span class="lien"><a href="profile/usage">modifier</a></span> | |
73 | </td> | |
74 | </tr> | |
75 | <tr> | |
7bff4cb0 FB |
76 | <td class="titre">Date de naissance</td> |
77 | <td><input type="text" {if $errors.naissance}class="error"{/if} name="naissance" value="{$naissance}" /></td> | |
78 | </tr> | |
79 | <tr> | |
0c6cbd63 | 80 | <td> |
46ae38a9 FB |
81 | <span class="titre">Nationalité</span> |
82 | </td> | |
0c6cbd63 | 83 | <td> |
46ae38a9 FB |
84 | <select name="nationalite"> |
85 | {select_nat valeur=$nationalite} | |
86 | </select> | |
87 | </td> | |
88 | </tr> | |
89 | <tr class="pair"> | |
0c6cbd63 | 90 | <td> |
46ae38a9 | 91 | <span class="titre">Application</span><br /> |
661e78f7 | 92 | <span class="comm">(4e année de l'X)</span> |
46ae38a9 | 93 | </td> |
0c6cbd63 | 94 | <td> |
46ae38a9 FB |
95 | <select name="appli1[id]" onchange="fillType(this.form['appli1[type]'], this.selectedIndex-1);"> |
96 | {applis_options selected=$appli1.id} | |
97 | </select> | |
98 | <br /> | |
99 | <input type="hidden" name="appli1_tmp" value="{$appli1.type}" /> | |
100 | <select name="appli1[type]"> | |
101 | <option value=""></option> | |
102 | </select> | |
103 | </td> | |
104 | </tr> | |
105 | <tr class="pair"> | |
0c6cbd63 | 106 | <td> |
46ae38a9 FB |
107 | <span class="titre">Post-application</span> |
108 | </td> | |
0c6cbd63 | 109 | <td> |
46ae38a9 FB |
110 | <select name="appli2[id]" onchange="fillType(this.form['appli2[type]'], this.selectedIndex-1);"> |
111 | {applis_options selected=$appli2.id} | |
112 | </select> | |
113 | <br /> | |
114 | <input type="hidden" name="appli2_tmp" value="{$appli2.type}" /> | |
115 | <select name="appli2[type]"> | |
116 | <option value=""></option> | |
117 | </select> | |
118 | </td> | |
119 | </tr> | |
30c895be SJ |
120 | <tr class="pair"> |
121 | <td class="center" colspan="2"> | |
122 | <small>Si ta formation ne figure pas dans la liste, | |
123 | <a href="mailto:support@{#globals.mail.domain#}">contacte-nous</a>.</small> | |
124 | </td> | |
125 | </tr> | |
126 | </table> | |
0337d704 | 127 | |
33ae80b5 | 128 | {if !$no_private_key} |
46ae38a9 | 129 | <table class="bicol" style="margin-bottom: 1em" |
e8439508 | 130 | summary="Profil : Informations générales"> |
46ae38a9 FB |
131 | <tr> |
132 | <th> | |
133 | Synchronisation avec l'AX | |
134 | </th> | |
135 | </tr> | |
136 | <tr> | |
0c6cbd63 | 137 | <td class="flags"> |
ee12da4e FB |
138 | <input type="checkbox" name="synchro_ax" {if $synchro_ax}checked="checked" {/if}/> |
139 | {icon name="flag_orange" title="transmis à l'AX"} | |
0c6cbd63 FB |
140 | <span class="texte"> |
141 | Autoriser la synchronisation vers l'AX par des administrateurs ou des scripts automatiques. | |
142 | </span> | |
143 | </td> | |
144 | </tr> | |
145 | <tr> | |
46ae38a9 FB |
146 | <td> |
147 | <p> | |
148 | 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>. | |
149 | </p> | |
150 | <p> | |
151 | 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à. | |
152 | </p> | |
153 | <p class="center"> | |
154 | <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> | |
155 | </p> | |
156 | </td> | |
157 | </tr> | |
46ae38a9 | 158 | </table> |
33ae80b5 | 159 | {/if} |
76011d98 | 160 | |
46ae38a9 | 161 | <table class="bicol" style="margin-bottom: 1em" |
841ff7e7 | 162 | summary="Profil : Trombinoscope"> |
46ae38a9 FB |
163 | <tr> |
164 | <th colspan="2"> | |
0c6cbd63 | 165 | <div class="flags" style="float: left"> |
276f1db2 SJ |
166 | <label><input type="checkbox" name="photo_pub" {if $photo_pub eq 'public'}checked="checked" {/if}/> |
167 | {icon name="flag_green" title="site public"}</label> | |
0c6cbd63 | 168 | </div> |
46ae38a9 FB |
169 | Trombinoscope |
170 | </th> | |
171 | </tr> | |
172 | <tr> | |
46ae38a9 FB |
173 | <td {if !$nouvellephoto}colspan="2"{/if} class="center" style="width: 49%"> |
174 | <div class="titre">Ta photo actuelle</div> | |
b3bf7395 | 175 | <img src="photo/{$smarty.session.hruid}" alt=" [ PHOTO ] " style="max-height: 250px; margin-top: 1em" /> |
46ae38a9 FB |
176 | </td> |
177 | {if $nouvellephoto} | |
178 | <td class="center" style="width: 49%"> | |
179 | <div class="titre">Photo en attente de validation</div> | |
180 | <div> | |
b3bf7395 | 181 | <a href="profile/{$smarty.session.hruid}?modif=new" class="popup2"> |
46ae38a9 FB |
182 | Ta fiche avec cette photo |
183 | </a> | |
184 | </div> | |
b3bf7395 | 185 | <img src="photo/{$smarty.session.hruid}/req" alt=" [ PHOTO ] " style="max-height: 250px; margin-top: 1em" /> |
46ae38a9 FB |
186 | </td> |
187 | {/if} | |
188 | </tr> | |
189 | <tr class="pair"> | |
190 | <td colspan="2"> | |
191 | Pour profiter de cette fonction intéressante, tu dois disposer | |
192 | quelque part (sur ton ordinateur ou sur Internet) d'une photo | |
193 | d'identité (dans un fichier au format JPEG, PNG ou GIF).<br /> | |
194 | <div class="center"> | |
195 | <a href="photo/change">Éditer ta photo</a> | |
196 | </div> | |
197 | </td> | |
198 | </tr> | |
199 | </table> | |
200 | ||
201 | <table class="bicol" style="margin-bottom: 1em" | |
841ff7e7 | 202 | summary="Profil : Divers"> |
46ae38a9 FB |
203 | <tr> |
204 | <th colspan="2"> | |
205 | Divers | |
206 | </th> | |
207 | </tr> | |
208 | <tr> | |
0c6cbd63 FB |
209 | <td> |
210 | <span class="flags"> | |
0c6cbd63 | 211 | <input type="checkbox" checked="checked" disabled="disabled" /> |
ee12da4e | 212 | {icon name="flag_red" title="privé"} |
0c6cbd63 | 213 | </span> |
46ae38a9 FB |
214 | <span class="titre">Surnom</span> |
215 | </td> | |
0c6cbd63 | 216 | <td> |
46ae38a9 FB |
217 | <input type="text" size="35" maxlength="64" |
218 | {if $errors.nick}class="error"{/if} name="nick" value="{$nick}" /> | |
219 | </td> | |
220 | </tr> | |
221 | <tr> | |
0c6cbd63 | 222 | <td> |
46ae38a9 FB |
223 | <span class="titre">Téléphone mobile</span> |
224 | </td> | |
0c6cbd63 | 225 | <td> |
46ae38a9 FB |
226 | <input type="text" size="18" maxlength="18" name="mobile" |
227 | {if $errors.mobile}class="error"{/if} value="{$mobile}" /> | |
0c6cbd63 | 228 | <span class="flags"> |
ee12da4e | 229 | {include file="include/flags.radio.tpl" name="mobile_pub" val=$mobile_pub} |
0c6cbd63 | 230 | </span> |
46ae38a9 FB |
231 | </td> |
232 | </tr> | |
233 | <tr> | |
0c6cbd63 FB |
234 | <td> |
235 | <span class="flags"> | |
276f1db2 SJ |
236 | <label><input type="checkbox" name="web_pub" {if $web_pub eq 'public'}checked="checked"{/if} /> |
237 | {icon name="flag_green" title="site public"}</label> | |
0c6cbd63 | 238 | </span> |
46ae38a9 FB |
239 | <span class="titre">Page web Perso</span> |
240 | </td> | |
0c6cbd63 | 241 | <td> |
46ae38a9 FB |
242 | <input type="text" size="35" maxlength="95" name="web" |
243 | {if $errors.web}class="error"{/if} value="{$web}" /> | |
244 | </td> | |
245 | </tr> | |
e60e10d7 | 246 | <tr class="pair"> |
0c6cbd63 | 247 | <td> |
46ae38a9 | 248 | <div> |
0c6cbd63 | 249 | <span class="flags"> |
276f1db2 SJ |
250 | <label><input type="checkbox" name="freetext_pub" {if $freetext_pub eq 'public'}checked="checked"{/if} /> |
251 | {icon name="flag_green" title="site public"}</label> | |
0c6cbd63 FB |
252 | </span> |
253 | <span class="titre">Complément libre</span><br /> | |
46ae38a9 FB |
254 | <span class="comm">Commentaire ? ICQ ? etc...</span> |
255 | </div> | |
256 | <div class="smaller" style="margin-top: 30px"> | |
257 | <a href="wiki_help/notitle" class="popup3"> | |
e60e10d7 | 258 | {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée |
46ae38a9 | 259 | </a> |
0447150d | 260 | <div class="center"> |
46ae38a9 FB |
261 | <input type="submit" name="preview" value="Aperçu" |
262 | onclick="previewWiki('freetext', 'ft_preview', true, 'ft_preview'); return false;" /> | |
3950bc21 | 263 | </div> |
46ae38a9 FB |
264 | </div> |
265 | </td> | |
0c6cbd63 | 266 | <td> |
46ae38a9 FB |
267 | <div id="ft_preview" style="display: none"></div> |
268 | <textarea name="freetext" {if $errors.freetext}class="error"{/if} | |
e60e10d7 | 269 | id="freetext" rows="8" cols="50" >{$freetext}</textarea> |
46ae38a9 FB |
270 | </td> |
271 | </tr> | |
272 | </table> | |
0337d704 | 273 | |
a7de4ef7 | 274 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |