1 {**************************************************************************}
3 {* Copyright (C) 2003-2008 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 {**************************************************************************}
23 <table class="bicol" style="margin-bottom: 1em"
24 summary="Profil : Informations générales">
27 <div class="flags" style="float: left">
28 <input type="checkbox" disabled="disabled" checked="checked" />
29 {icon name="flag_green" title="site public"}
31 Informations générales
36 <span class="titre">Nom</span><br/>
40 <input type='hidden' name='nom' {if $errors.nom}class="error"{/if} value="{$nom}" />
45 <span class="titre">Prénom</span><br/>
49 <input type='hidden' name='prenom' {if $errors.prenom}class="error"{/if} value="{$prenom}" />
54 <span class="titre">Affichage de ton nom</span>
57 {if $tooltip_name}<span title="{$tooltip_name}" style="border-bottom: 1px dashed black;">{$display_name}</span>{else}{$display_name}{/if}
58 <a href="profile/edit#names_advanced" onclick="$('#names_advanced').show();$(this).hide();document.location = document.location + '#names_advanced';return false">
59 {icon name="page_edit" title="Plus de détail"}
65 <span class="titre">Promotion</span>
68 <span class="nom">X{$promo}{if ($promo != $promo_sortie - 3)} - X{math equation="a - b" a=$promo_sortie b=3}{/if}</span>
69 <span class="lien"><a href="profile/orange" {if ($promo_sortie -3 == $promo)} {popup text="pour les oranges"}{/if}>{icon name="page_edit" title="modifier"}</a></span>
73 <td class="titre">Date de naissance</td>
74 <td><input type="text" {if $errors.naissance}class="error"{/if} name="naissance" value="{$naissance}" /></td>
78 <span class="titre">Nationalité</span>
81 <select name="nationalite">
82 {select_nat valeur=$nationalite}
88 <span class="titre">Application</span><br />
89 <span class="comm">(4e année de l'X)</span>
92 <select name="appli1[id]" onchange="fillType(this.form['appli1[type]'], this.selectedIndex-1);">
93 {applis_options selected=$appli1.id}
96 <input type="hidden" name="appli1_tmp" value="{$appli1.type}" />
97 <select name="appli1[type]">
98 <option value=""></option>
104 <span class="titre">Post-application</span>
107 <select name="appli2[id]" onchange="fillType(this.form['appli2[type]'], this.selectedIndex-1);">
108 {applis_options selected=$appli2.id}
111 <input type="hidden" name="appli2_tmp" value="{$appli2.type}" />
112 <select name="appli2[type]">
113 <option value=""></option>
118 <td class="center" colspan="2">
119 <small>Si ta formation ne figure pas dans la liste,
120 <a href="mailto:support@{#globals.mail.domain#}">contacte-nous</a>.</small>
125 <table class="bicol" style="margin-bottom: 1em;display:none"
126 summary="Profil : Noms" id="names_advanced">
135 <input type="checkbox" checked="checked" disabled="disabled" />
136 {icon name="flag_green" title="site public"}
138 <span class="titre">Affichage courant de ton nom</span>
139 <a class="popup3" href="Xorg/Profil#name_displayed">{icon name="information" title="aide"}</a>
142 <input type="text" name="display_name" value="{$display_name}" size="40"/>
147 <span class="titre">explication</span>
148 <a class="popup3" href="Xorg/Profil#name_tooltip">{icon name="information" title="aide"}</a>
151 <input type="text" name="tooltip_name" value="{$tooltip_name}" size="40"/>
156 <span class="titre">ranger ce nom à</span>
157 <a class="popup3" href="Xorg/Profil#name_order">{icon name="information" title="aide"}</a>
160 <input type="text" name="sort_name" value="{$sort_name}" size="40"/>
166 <input type="checkbox" checked="checked" disabled="disabled" />
167 {icon name="flag_red" title="privé"}
169 <span class="titre">Comment on doit t'appeller</span>
170 <a class="popup3" href="Xorg/Profil#name_yourself">{icon name="information" title="aide"}</a>
173 <input type="text" name="yourself" value="{$yourself}" size="40"/>
178 <span class="titre">Recherche</span><span class="smaller">, ta fiche apparaît quand on cherche un de ces noms</span>
179 <a class="popup3" href="Xorg/Profil#name_search">{icon name="information" title="aide"}</a>
180 {iterate from=$search_names item="sn"}
181 <div id="search_name_{$sn.sn_id}" style="padding:2px" class="center">
182 {include file="profile/general.searchname.tpl" i=$sn.sn_id sn=$sn}
185 <div id="add_search_name" class="center" style="clear: both">
186 <a href="javascript:addSearchName()">
187 {icon name=add title="Ajouter un nom de recherche"} Ajouter un nom
193 {if !$no_private_key}
194 <table class="bicol" style="margin-bottom: 1em"
195 summary="Profil : Informations générales">
198 Synchronisation avec l'AX
203 <input type="checkbox" name="synchro_ax" {if $synchro_ax}checked="checked" {/if}/>
204 {icon name="flag_orange" title="transmis à l'AX"}
206 Autoriser la synchronisation vers l'AX par des administrateurs ou des scripts automatiques.
213 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>.
216 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à.
219 <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>
226 <table class="bicol" style="margin-bottom: 1em"
227 summary="Profil: Trombinoscope">
230 <div class="flags" style="float: left">
231 <input type="checkbox" name="photo_pub" {if $photo_pub eq 'public'}checked="checked" {/if}/>
232 {icon name="flag_green" title="site public"}
238 <td {if !$nouvellephoto}colspan="2"{/if} class="center" style="width: 49%">
239 <div class="titre">Ta photo actuelle</div>
240 <img src="photo/{$smarty.session.forlife}" alt=" [ PHOTO ] " style="max-height: 250px; margin-top: 1em" />
243 <td class="center" style="width: 49%">
244 <div class="titre">Photo en attente de validation</div>
246 <a href="profile/{$smarty.session.forlife}?modif=new" class="popup2">
247 Ta fiche avec cette photo
250 <img src="photo/{$smarty.session.forlife}/req" alt=" [ PHOTO ] " style="max-height: 250px; margin-top: 1em" />
256 Pour profiter de cette fonction intéressante, tu dois disposer
257 quelque part (sur ton ordinateur ou sur Internet) d'une photo
258 d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
260 <a href="photo/change">Éditer ta photo</a>
266 <table class="bicol" style="margin-bottom: 1em"
267 summary="Profil: Divers">
275 <span class="titre">Téléphone mobile</span>
278 <input type="text" size="18" maxlength="18" name="mobile"
279 {if $errors.mobile}class="error"{/if} value="{$mobile}" />
281 {include file="include/flags.radio.tpl" name="mobile_pub" val=$mobile_pub}
287 <span class="titre">Messageries, networking et sites web</span>
292 <span class="titre" style="margin-left:1em;">Type à ajouter</span>
295 <select name="nw_type" onchange="updateNetworking()">
296 <option value=""></option>
297 {foreach from=$network_list item=network}
298 <option value="{$network.type}">{$network.name}</option>
301 <span id="nw_add" style="display: none">
302 <a href="javascript:addNetworking();">{icon name=add title="Ajouter cette adresse"}</a>
306 {foreach from=$networking item=network key=id}
307 {include file="profile/general.networking.tpl" nw=$network i=$id}
313 <input type="checkbox" name="freetext_pub" {if $freetext_pub eq 'public'}checked="checked"{/if} />
314 {icon name="flag_green" title="site public"}
316 <span class="titre">Commentaire</span>
318 <div class="smaller" style="margin-top: 30px">
319 <a href="wiki_help/notitle" class="popup3">
320 {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée
323 <input type="submit" name="preview" value="Aperçu"
324 onclick="previewWiki('freetext', 'ft_preview', true, 'ft_preview'); return false;" />
329 <div id="ft_preview" style="display: none"></div>
330 <textarea name="freetext" {if $errors.freetext}class="error"{/if}
331 id="freetext" rows="8" cols="50" >{$freetext}</textarea>
336 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}