-{if !$no_private_key}
-<div class="blocunite">
- <table class="bicol" cellspacing="0" cellpadding="0"
- summary="Profil : Informations générales">
- <tr>
- <th>
- Synchronisation avec l'AX
- </th>
- </tr>
- <tr>
- <td>
- <p>
- 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.
- </p>
- <p>
- La synchro prend en compte toutes les informations que tu as signalés à l'AX (en orange ou en vert). Elle peut alors effacer, modifier ou rajouter des informations selon ce qu'elle trouve sur ta <a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&anc_id={$matricule_ax}">fiche AX</a>.
- </p>
- <p class="center">
- <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>
- </p>
- </td>
- </tr>
- <tr>
- <td class="col">
- <table class="flags" cellspacing="0" summary="Flags">
- <tr>
- <td class="orange">
- <input type="checkbox" name="synchro_ax" {if $synchro_ax}checked="checked" {/if}/>
- </td>
- <td class="texte">
- Autoriser la synchronisation depuis l'AX par des administrateurs ou des scripts automatiques.
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
-</div>
-{/if}
-
-<div class="blocunite">
- <table class="bicol" cellspacing="0" cellpadding="0"
- summary="Profil: Trombinoscope">
- <tr>
- <th colspan="3">
- Trombinoscope
- </th>
- </tr>
- <tr>
- <td class="col" colspan="3">
- Pour profiter de cette fonction intéressante, tu dois disposer
- quelque part (sur ton ordinateur ou sur Internet) d'une photo
- d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
+<table class="bicol" style="margin-bottom: 1em" summary="Profil : Formations">
+ <tr>
+ <th colspan="2">
+ <div class="flags" style="float: left">
+ <input type="checkbox" disabled="disabled" checked="checked" />
+ {icon name="flag_green" title="site public"}
+ </div>
+ Formations
+ </th>
+ </tr>
+ {foreach from=$edus key=eduid item=edu}
+ {cycle values="impair, pair" assign=class}
+ {include file="profile/general.edu.tpl" eduid=$eduid edu=$edu edu_fields=$edu_fields class=$class}
+ {/foreach}
+ {cycle values="impair, pair" assign=class}
+ {assign var=eduaddid value=$edus|@count}
+ <tr id="edu_add" class="edu_{$eduaddid} {$class}">
+ <td colspan="2">
+ <div class="center" style="clear: both; padding-top: 4px;">
+ <a href="javascript:addEdu();">
+ {icon name=add title="Ajouter une formation"} Ajouter une formation
+ </a>
+ </div>
+ </td>
+ </tr>
+ <tr class="{$class}">
+ <td class="center" colspan="2">
+ <small>Si ta formation ne figure pas dans la liste,
+ <a href="mailto:support@{#globals.mail.domain#}">contacte-nous</a>.</small>
+ </td>
+ </tr>
+ </table>
+
+<table class="bicol" style="margin-bottom: 1em"
+ summary="Profil : Trombinoscope">
+ <tr>
+ <th colspan="2">
+ <div class="flags" style="float: left">
+ <label><input type="checkbox" name="photo_pub" {if $photo_pub eq 'public'}checked="checked" {/if}/>
+ {icon name="flag_green" title="site public"}</label>
+ </div>
+ Trombinoscope
+ </th>
+ </tr>
+ <tr>
+ <td {if !$nouvellephoto}colspan="2"{/if} class="center" style="width: 49%">
+ <div class="titre">Ta photo actuelle</div>
+ <img src="photo/{$profile->hrid()}" alt=" [ PHOTO ] " style="max-height: 250px; margin-top: 1em" />
+ </td>
+ {if $nouvellephoto}
+ <td class="center" style="width: 49%">
+ <div class="titre">Photo en attente de validation</div>
+ <div>
+ <a href="profile/{$profile->hrid()}?modif=new" class="popup2">
+ Ta fiche avec cette photo
+ </a>
+ </div>
+ <img src="photo/{$profile->hrid()}/req" alt=" [ PHOTO ] " style="max-height: 250px; margin-top: 1em" />
+ </td>
+ {/if}
+ </tr>
+ <tr class="pair">
+ <td colspan="2">
+ Pour profiter de cette fonction intéressante, tu dois disposer
+ quelque part (sur ton ordinateur ou sur Internet) d'une photo
+ d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
+ <div class="center">
+ <a href="photo/change/{$profile->hrid()}">Éditer ta photo</a>
+ </div>
+ </td>
+ </tr>
+</table>
+
+<table class="bicol" style="margin-bottom: 1em"
+ summary="Profil : Divers">
+ <tr>
+ <th colspan="2">
+ Divers
+ </th>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <span class="titre">Téléphones personnels</span>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ {foreach from=$tels key=telid item=tel}
+ <div id="tels_{$telid}" style="clear: both; padding-top: 4px; padding-bottom: 4px">
+ {include file="profile/phone.tpl" prefname='tels' prefid='tels' telid=$telid tel=$tel}
+ </div>
+ {/foreach}
+ {if $tels|@count eq 0}
+ <div id="tels_0" style="clear: both; padding-top: 4px; padding-bottom: 4px">
+ {include file="profile/phone.tpl" prefname='tels' preid='tels' telid=0 tel=0}
+ </div>
+ {/if}
+ <div id="tels_add" class="center" style="clear: both; padding-top: 4px;">
+ <a href="javascript:addTel('tels','tels');">
+ {icon name=add title="Ajouter un téléphone"} Ajouter un téléphone
+ </a>
+ </div>
+ </td>
+ </tr>
+ {if $email_error}
+ {include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory_error error=$email_error i="0"}
+ {else}{include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory error=$email_error i="0"}{/if}
+ <tr>
+ <td colspan="2">
+ <span class="titre">Messageries, networking et sites web</span>
+ </td>
+ </tr>
+ {foreach from=$networking item=network key=id}
+ {include file="profile/general.networking.tpl" nw=$network i=$id}
+ {/foreach}
+ <tr id="networking">
+ <td colspan="2">
+ <script type="text/javascript">//<![CDATA[
+ var nw_list = new Array();
+ {foreach from=$network_list item=network}
+ nw_list['{$network.name}'] = {$network.type};
+ {/foreach}
+ //]]></script>
+ <div id="nw_add" class="center">
+ <a href="javascript:addNetworking();">
+ {icon name=add title="Ajouter une adresse"} Ajouter une adresse
+ </a>
+ </div>
+ </td>
+ </tr>
+ <tr class="pair">
+ <td>
+ <div>
+ <span class="flags">
+ <label><input type="checkbox" name="freetext_pub" {if $freetext_pub eq 'public'}checked="checked"{/if} />
+ {icon name="flag_green" title="site public"}</label>
+ </span>
+ <span class="titre">Commentaire</span>
+ </div>
+ <div class="smaller" style="margin-top: 30px">
+ <a href="wiki_help/notitle" class="popup3">
+ {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée
+ </a>