1 {**************************************************************************}
3 {* Copyright (C) 2003-2007 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
24 {include file="profile/applis.js.tpl"}
25 <table class="bicol" style="margin-bottom: 1em"
26 summary="Profil : Informations générales">
29 Informations générales
33 <td colspan="2" class="pflags">
34 <table class="flags" cellspacing="0" summary="Flags">
37 <input type="checkbox" disabled="disabled" checked="checked" />
48 <span class="titre">Nom</span>
49 <span class="comm"></span>
52 <input type='text' name='nom' {if $errors.nom}class="error"{/if} value="{$nom}" />
57 <span class="titre">Prénom</span>
58 <span class="comm"></span>
61 <input type='text' name='prenom' {if $errors.prenom}class="error"{/if} value="{$prenom}" />
66 <span class="titre">Promotion</span>
69 <span class="nom">X{$promo}{if ($promo != $promo_sortie - 3)} - X{math equation="a - b" a=$promo_sortie b=3}{/if}</span>
70 <span class="lien"><a href="profile/orange">modifier</a>{if ($promo_sortie -3 == $promo)} pour les oranges{/if}</span>
75 <span class="titre">Nom d'usage</span><br />
76 {if $smarty.session.sexe}
77 <span class="comm">(Notamment nom d'épouse)</span>
79 <span class="comm">(si différent de {$nom} seulement)</span>
83 <span class="nom">{$nom_usage|default:"Aucun"}</span>
84 <span class="lien"><a href="profile/usage">modifier</a></span>
89 <span class="titre">Nationalité</span>
92 <select name="nationalite">
93 {select_nat valeur=$nationalite}
99 <span class="titre">Application</span><br />
100 <span class="comm">(4ème année de l'X)</span>
103 <select name="appli1[id]" onchange="fillType(this.form['appli1[type]'], this.selectedIndex-1);">
104 {applis_options selected=$appli1.id}
107 <select name="appli1[type]">
108 <option value=""></option>
110 <script type="text/javascript">
112 fillType(document.forms.prof_annu['appli1[type]'], document.forms.prof_annu['appli1[id]'].selectedIndex-1);
113 selectType(document.forms.prof_annu['appli1[type]'], '{$appli1.type}');
120 <span class="titre">Post-application</span>
123 <select name="appli2[id]" onchange="fillType(this.form['appli2[type]'], this.selectedIndex-1);">
124 {applis_options selected=$appli2.id}
127 <select name="appli2[type]">
128 <option value=""></option>
130 <script type="text/javascript">
132 fillType(document.forms.prof_annu['appli2[type]'], document.forms.prof_annu['appli2[id]'].selectedIndex-1);
133 selectType(document.forms.prof_annu['appli2[type]'], '{$appli2.type}');
140 {if !$no_private_key}
141 <table class="bicol" style="margin-bottom: 1em"
142 summary="Profil : Informations générales">
145 Synchronisation avec l'AX
151 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>.
154 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à.
157 <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>
163 <table class="flags" cellspacing="0" summary="Flags">
166 <input type="checkbox" name="synchro_ax" {if $synchro_ax}checked="checked" {/if}/>
169 Autoriser la synchronisation vers l'AX par des administrateurs ou des scripts automatiques.
178 <table class="bicol" style="margin-bottom: 1em"
179 summary="Profil: Trombinoscope">
186 <td class="col" colspan="3">
187 Pour profiter de cette fonction intéressante, tu dois disposer
188 quelque part (sur ton ordinateur ou sur Internet) d'une photo
189 d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
192 <a href="photo/change">Éditer ta photo</a>
198 <td class="col" colspan="3">
199 <table class="flags" cellspacing="0" summary="Flags">
202 <input type="checkbox" name="photo_pub" {if $photo_pub eq 'public'}checked="checked" {/if}/>
209 <table cellspacing="0" cellpadding="0" summary="Trombinoscope">
212 Voilà la photo qui apparaîtra sur la fiche de ton profil{if $nouvellephoto} (tu viens
213 de changer ta photo, celle-ci correspond à ton ancien
214 profil car la nouvelle n'a pas encore été validée par un administrateur du site !
215 <a href="profile/{$smarty.session.forlife}?modif=new" class="popup2">Ta fiche avec la nouvelle photo</a>)
219 <img src="photo/{$smarty.session.forlife}" alt=" [ PHOTO ] " />
226 <table class="bicol" style="margin-bottom: 1em"
227 summary="Profil: Divers">
234 <td colspan="2" class="pflags">
235 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
238 <input type="checkbox" disabled="disabled" checked="checked" />
249 <span class="titre">Surnom</span>
252 <input type="text" size="35" maxlength="64"
253 {if $errors.nick}class="error"{/if} name="nick" value="{$nick}" />
257 <td colspan="2" class="pflags">
258 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
261 <input type="radio" name="mobile_pub" {if $mobile_pub eq 'public'}checked="checked"{/if} value='public' />
267 <input type="radio" name="mobile_pub" {if $mobile_pub eq 'ax'}checked="checked"{/if} value='ax' />
273 <input type="radio" name="mobile_pub" {if $mobile_pub eq 'private'}checked="checked"{/if} value='private' />
279 <a href="Xorg/FAQ?display=light#flags" class="popup_800x240">Quelle couleur ??</a>
287 <span class="titre">Téléphone mobile</span>
290 <input type="text" size="18" maxlength="18" name="mobile"
291 {if $errors.mobile}class="error"{/if} value="{$mobile}" />
295 <td colspan="2" class="flags">
296 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
299 <input type="checkbox" name="web_pub" {if $web_pub eq 'public'}checked="checked"{/if} />
305 <a href="Xorg/FAQ?display=light#flags" class="popup_800x240">Quelle couleur ??</a>
313 <span class="titre">Page web Perso</span>
316 <input type="text" size="35" maxlength="95" name="web"
317 {if $errors.web}class="error"{/if} value="{$web}" />
321 <td colspan="2" class="pflags">
322 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
325 <input type="checkbox" name="freetext_pub" {if $freetext_pub eq 'public'}checked="checked"{/if} />
331 <a href="Xorg/FAQ?display=light#flags" class="popup_800x240">Quelle couleur ??</a>
340 <span class="titre">Complément libre</span>
341 <span class="comm">Commentaire ? ICQ ? etc...</span>
343 <div class="smaller" style="margin-top: 30px">
344 <a href="wiki_help/notitle" class="popup3">
345 {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée pour le commentaire
348 <input type="submit" name="preview" value="Aperçu"
349 onclick="previewWiki('freetext', 'ft_preview', true, 'ft_preview'); return false;" />
354 <div id="ft_preview" style="display: none"></div>
355 <textarea name="freetext" {if $errors.freetext}class="error"{/if}
356 id="freetext" rows="8" cols="35" >{$freetext}</textarea>
361 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}