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}" class="hint">{$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>
74 <span class="titre">Date de naissance</span>
76 <td><input type="text" {if $errors.naissance}class="error"{/if} name="naissance" value="{$naissance}" /></td>
80 <span class="titre">Nationalité</span>
83 <select name="nationalite">
84 {select_nat valeur=$nationalite pad=1}
86 <a href="javascript:addNationality();">{icon name=add title="Ajouter une nationalité"}</a>
89 <tr id="nationalite2" {if !$nationalite2}style="display: none"{/if}>
92 <select name="nationalite2">
93 {select_nat valeur=$nationalite2 pad=1}
95 <a href="javascript:delNationality('2');">{icon name=cross title="Supprimer cette nationalité"}</a>
98 <tr id="nationalite3" {if !$nationalite3}style="display: none"{/if}>
101 <select name="nationalite3">
102 {select_nat valeur=$nationalite3 pad=1}
104 <a href="javascript:delNationality('3');">{icon name=cross title="Supprimer cette nationalité"}</a>
109 <span class="titre">Application</span>
115 {foreach from=$tels key=telid item=tel}
116 <div id="tels_{$telid}" style="clear: both; padding-top: 4px; padding-bottom: 4px">
117 {include file="profile/phone.tpl" prefname='tels' prefid='tels' telid=$telid tel=$tel}
120 {if $tels|@count eq 0}
121 <div id="tels_0" style="clear: both; padding-top: 4px; padding-bottom: 4px">
122 {include file="profile/phone.tpl" prefname='tels' preid='tels' telid=0 tel=0}
125 <div id="tels_add" class="center" style="clear: both; padding-top: 4px;">
126 <a href="javascript:addTel('tels', 'tels');">
127 {icon name=add title="Ajouter un téléphone"}Ajouter un téléphone
132 <!--{foreach from=$edus key=eduid item=edu}
133 <div id="edus_{$eduid}" style="clear: both; padding-top: 4px; padding-bottom: 4px">
134 {include file="profile/phone.tpl" prefname='edus' prefid='edus' eduid=$eduid edu=$edu}
137 {if $edus|@count eq 0}
138 <div id="edus_0" style="clear: both; padding-top: 4px; padding-bottom: 4px">
139 {include file="profile/phone.tpl" prefname='edus' preid='edus' eduid=0 edu=0}
142 <div id="edus_0" style="clear: both; padding-top: 4px; padding-bottom: 4px">
143 {include file="profile/edu.tpl" eduid=0 edus=$edu_0}
145 <div id="edus_1" style="clear: both; padding-top: 4px; padding-bottom: 4px">
146 {include file="profile/edu.tpl" eduid=1 edus=$edu_1}
149 <div id="edus_add" class="center" style="clear: both; padding-top: 4px;">
150 <a href="javascript:addEdu('edus', 'edus');">
151 {icon name=add title="Ajouter une formation"}Ajouter une formation
157 <td class="center" colspan="2">
158 <small>Si ta formation ne figure pas dans la liste,
159 <a href="mailto:support@{#globals.mail.domain#}">contacte-nous</a>.</small>
164 <table class="bicol" style="margin-bottom: 1em;display:none"
165 summary="Profil : Noms" id="names_advanced">
174 <input type="checkbox" checked="checked" disabled="disabled" />
175 {icon name="flag_green" title="site public"}
177 <span class="titre">Affichage courant de ton nom</span>
178 <a class="popup3" href="Xorg/Profil#name_displayed">{icon name="information" title="aide"}</a>
181 <input type="text" name="display_name" value="{$display_name}" size="40"/>
186 <span class="titre">explication</span>
187 <a class="popup3" href="Xorg/Profil#name_tooltip">{icon name="information" title="aide"}</a>
190 <input type="text" name="tooltip_name" value="{$tooltip_name}" size="40"/>
195 <span class="titre">ranger ce nom à</span>
196 <a class="popup3" href="Xorg/Profil#name_order">{icon name="information" title="aide"}</a>
199 <input type="text" name="sort_name" value="{$sort_name}" size="40"/>
205 <input type="checkbox" checked="checked" disabled="disabled" />
206 {icon name="flag_red" title="privé"}
208 <span class="titre">Comment on doit t'appeller</span>
209 <a class="popup3" href="Xorg/Profil#name_yourself">{icon name="information" title="aide"}</a>
212 <input type="text" name="yourself" value="{$yourself}" size="40"/>
217 <span class="titre">Recherche</span><span class="smaller">, ta fiche apparaît quand on cherche un de ces noms</span>
218 <a class="popup3" href="Xorg/Profil#name_search">{icon name="information" title="aide"}</a>
219 {iterate from=$search_names item="sn"}
220 <div id="search_name_{$sn.sn_id}" style="padding:2px" class="center">
221 {include file="profile/general.searchname.tpl" i=$sn.sn_id sn=$sn}
224 <div id="add_search_name" class="center" style="clear: both">
225 <a href="javascript:addSearchName()">
226 {icon name=add title="Ajouter un nom de recherche"} Ajouter un nom
232 {if !$no_private_key}
233 <table class="bicol" style="margin-bottom: 1em"
234 summary="Profil : Informations générales">
237 Synchronisation avec l'AX
242 <input type="checkbox" name="synchro_ax" {if $synchro_ax}checked="checked" {/if}/>
243 {icon name="flag_orange" title="transmis à l'AX"}
245 Autoriser la synchronisation vers l'AX par des administrateurs ou des scripts automatiques.
252 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>.
255 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à.
258 <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>
265 <table class="bicol" style="margin-bottom: 1em"
266 summary="Profil : Trombinoscope">
269 <div class="flags" style="float: left">
270 <label><input type="checkbox" name="photo_pub" {if $photo_pub eq 'public'}checked="checked" {/if}/>
271 {icon name="flag_green" title="site public"}</label>
277 <td {if !$nouvellephoto}colspan="2"{/if} class="center" style="width: 49%">
278 <div class="titre">Ta photo actuelle</div>
279 <img src="photo/{$smarty.session.forlife}" alt=" [ PHOTO ] " style="max-height: 250px; margin-top: 1em" />
282 <td class="center" style="width: 49%">
283 <div class="titre">Photo en attente de validation</div>
285 <a href="profile/{$smarty.session.forlife}?modif=new" class="popup2">
286 Ta fiche avec cette photo
289 <img src="photo/{$smarty.session.forlife}/req" alt=" [ PHOTO ] " style="max-height: 250px; margin-top: 1em" />
295 Pour profiter de cette fonction intéressante, tu dois disposer
296 quelque part (sur ton ordinateur ou sur Internet) d'une photo
297 d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
299 <a href="photo/change">Éditer ta photo</a>
305 <table class="bicol" style="margin-bottom: 1em"
306 summary="Profil : Divers">
314 <span class="titre">Téléphones personnels</span>
319 {foreach from=$tels key=telid item=tel}
320 <div id="tels_{$telid}" style="clear: both; padding-top: 4px; padding-bottom: 4px">
321 {include file="profile/phone.tpl" prefname='tels' prefid='tels' telid=$telid tel=$tel}
324 {if $tels|@count eq 0}
325 <div id="tels_0" style="clear: both; padding-top: 4px; padding-bottom: 4px">
326 {include file="profile/phone.tpl" prefname='tels' preid='tels' telid=0 tel=0}
329 <div id="tels_add" class="center" style="clear: both; padding-top: 4px;">
330 <a href="javascript:addTel('tels', 'tels');">
331 {icon name=add title="Ajouter un téléphone"} Ajouter un téléphone
337 {include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory_error error=$email_error}
338 {else}{include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory error=$email_error}{/if}
341 <span class="titre">Messageries, networking et sites web</span>
344 {foreach from=$networking item=network key=id}
345 {include file="profile/general.networking.tpl" nw=$network i=$id}
348 <script type="text/javascript">//<![CDATA[
349 var nw_list = new Array();
350 {foreach from=$network_list item=network}
351 nw_list['{$network.name}'] = {$network.type};
355 <div id="nw_add" class="center">
356 <a href="javascript:addNetworking();">
357 {icon name=add title="Ajouter une adresse"} Ajouter une adresse
362 <!-- <tr id="networking">
364 <div style="float: left; width: 200px;">
365 <span class="titre" style="margin-left:1em;">Type à ajouter</span>
367 <div style="float: left;">
368 <div id="nw_type_ac" style="background-color: white; border: solid 1px black; position: absolute; width: 208px; display: none">TEST</div>
369 <input type="text" size="30" id="nw_type" name="nw_type" onkeyup="updateNetworking()">
370 <span id="nw_add" style="display: none">
371 <a href="javascript:addNetworking();">{icon name=add title="Ajouter cette adresse"}</a>
380 <label><input type="checkbox" name="freetext_pub" {if $freetext_pub eq 'public'}checked="checked"{/if} />
381 {icon name="flag_green" title="site public"}</label>
383 <span class="titre">Commentaire</span>
385 <div class="smaller" style="margin-top: 30px">
386 <a href="wiki_help/notitle" class="popup3">
387 {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée
390 <input type="submit" name="preview" value="Aperçu"
391 onclick="previewWiki('freetext', 'ft_preview', true, 'ft_preview'); return false;" />
396 <div id="ft_preview" style="display: none"></div>
397 <textarea name="freetext" {if $errors.freetext}class="error"{/if}
398 id="freetext" rows="8" cols="50" >{$freetext}</textarea>
403 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}