1 {**************************************************************************}
3 {* Copyright (C) 2003-2004 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="applis.js.tpl"}
25 <div class="blocunite_tab">
26 <table class="bicol" cellspacing="0" cellpadding="0"
27 summary="Profil : Informations générales">
30 Informations générales
34 <td colspan="2" class="pflags">
35 <table class="flags" cellspacing="0" summary="Flags">
38 <input type="checkbox" disabled="disabled" checked="checked" />
49 <span class="titre">Nom</span>
50 <span class="comm"></span>
53 <input type='text' name='nom' value="{$nom}" />
58 <span class="titre">Prénom</span>
59 <span class="comm"></span>
62 <input type='text' name='prenom' value="{$prenom}" />
67 <span class="titre">Promotion</span>
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>
76 <span class="titre">Nom d'usage</span><br />
77 {if $smarty.session.sexe}
78 <span class="comm">(Notamment nom d'épouse)</span>
80 <span class="comm">(si différent de {$nom} seulement)</span>
84 <span class="nom">{$nom_usage|default:"Aucun"}</span>
85 <span class="lien"><a href="nomusage.php">modifier</a></span>
90 <span class="titre">Nationalité</span>
93 <select name="nationalite">
94 {select_nat valeur=$nationalite}
100 <span class="titre">Application</span><br />
101 <span class="comm">(4ème année de l'X)</span>
104 <select name="appli_id1" onchange="fillType(this.form.appli_type1, this.selectedIndex-1);">
105 {applis_options selected=$appli_id1}
108 <select name="appli_type1">
109 <option value=""></option>
111 <script type="text/javascript">
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}');
121 <span class="titre">Post-application</span>
124 <select name="appli_id2" onchange="fillType(this.form.appli_type2, this.selectedIndex-1);">
125 {applis_options selected=$appli_id2}
128 <select name="appli_type2">
129 <option value=""></option>
131 <script type="text/javascript">
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}');
142 <div class="blocunite">
143 <table class="bicol" cellspacing="0" cellpadding="0"
144 summary="Profil : Informations générales">
147 Synchronisation avec l'AX
152 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.
157 <table class="flags" cellspacing="0" summary="Flags">
160 <input type="checkbox" name="synchro_ax" {if $synchro_ax}checked="checked" {/if}/>
163 Autoriser la synchronisation depuis l'AX.
172 <div class="blocunite">
173 <table class="bicol" cellspacing="0" cellpadding="0"
174 summary="Profil: Trombinoscope">
181 <td class="col" colspan="3">
182 Pour profiter de cette fonction intéressante, tu dois disposer
183 quelque part (sur ton ordinateur ou sur Internet) d'une photo
184 d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
187 <a href="trombino.php">Éditer ta photo</a>
193 <td class="col" colspan="3">
194 <table class="flags" cellspacing="0" summary="Flags">
197 <input type="checkbox" name="photo_pub" {if $photo_pub eq 'public'}checked="checked" {/if}/>
204 <table cellspacing="0" cellpadding="0" summary="Trombinoscope">
207 Voilà la photo qui apparaîtra sur la fiche de ton profil{if $nouvellephoto} (tu viens
208 de changer ta photo, celle-ci correspond à ton ancien
209 profil car la nouvelle n'a pas encore été validée par un administrateur du site !
210 <a href="{"fiche.php"|url}?user={$smarty.session.forlife}&modif=new" class="popup2">Ta fiche avec la nouvelle photo</a>)
214 <img src="getphoto.php?x={$smarty.session.forlife}" alt=" [ PHOTO ] " />
222 <div class="blocunite">
223 <table class="bicol" cellspacing="0" cellpadding="0"
224 summary="Profil: Divers">
231 <td colspan="2" class="pflags">
232 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
235 <input type="checkbox" disabled="disabled" checked="checked" />
246 <span class="titre">Surnom</span>
249 <input type="text" size="35" maxlength="64" name="nickname" value="{$nickname}" />
253 <td colspan="2" class="pflags">
254 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
257 <input type="radio" name="mobile_pub" {if $mobile_pub eq 'public'}checked="checked"{/if} value='public' />
263 <input type="radio" name="mobile_pub" {if $mobile_pub eq 'ax'}checked="checked"{/if} value='ax' />
269 <input type="radio" name="mobile_pub" {if $mobile_pub eq 'private'}checked="checked"{/if} value='private' />
275 <a href="{"docs/faq.php"|url}#flags" class="popup_800x240">Quelle couleur ??</a>
283 <span class="titre">Téléphone mobile</span>
286 <input type="text" size="18" maxlength="18" name="mobile"
291 <td colspan="2" class="flags">
292 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
295 <input type="checkbox" name="web_pub" {if $web_pub eq 'public'}checked="checked"{/if} />
301 <a href="{"docs/faq.php"|url}#flags" class="popup_800x240">Quelle couleur ??</a>
309 <span class="titre">Page web Perso</span>
312 <input type="text" size="35" maxlength="95" name="web"
317 <td colspan="2" class="pflags">
318 <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
321 <input type="checkbox" name="freetext_pub" {if $freetext_pub eq 'public'}checked="checked"{/if} />
327 <a href="{"docs/faq.php"|url}#flags" class="popup_800x240">Quelle couleur ??</a>
335 <span class="titre">Complément libre</span>
336 <span class="comm">Commentaire? ICQ? etc...</span>
339 <textarea name="freetext" rows="3" cols="29" >{$freetext}</textarea>
345 {* vim:set et sw=2 sts=2 sws=2: *}