-{if !$no_private_key}
- <table class="bicol" style="margin-bottom: 1em"
- 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 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>.
- </p>
- <p>
- 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à.
- </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 vers l'AX par des administrateurs ou des scripts automatiques.
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
+<table class="bicol" style="margin-bottom: 1em" summary="Profil : Formations à l'X">
+ <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 à l'École polytechnique
+ </th>
+ </tr>
+ {foreach from=$main_edus key=eduid item=main_edu}
+ {cycle values="impair, pair" assign=class}
+ <tr class="{$class}">
+ <td><span class="titre">Cycle :</span></td>
+ <td>{$main_edu.cycle}</td>
+ </tr>
+ <tr class="{$class}">
+ <td><span class="titre">Promotion :</span></td>
+ <td>{if t($main_edu.promo_year)}{$main_edu.promo_year}{/if}</td>
+ </tr>
+ <tr class="{$class}">
+ <td><span class="titre">Domaine de formation :</span></td>
+ <td>
+ <select name="main_edus[{$main_edu.degreeid}][fieldid]">
+ <option value=""> </option>
+ {foreach from=$edu_fields item=field}
+ <option value="{$field.id}" {if $field.id eq $main_edu.fieldid}selected="selected"{/if}>{$field.field}</option>
+ {/foreach}
+ </select>
+ </td>
+ </tr>
+ <tr class="{$class}">
+ <td><span class="titre">Description de la formation :</span></td>
+ <td>
+ <input type="text" name="main_edus[{$main_edu.degreeid}][program]" value="{$main_edu.program}" size="30" maxlength="255" />
+ <input type="hidden" name="main_edus[{$main_edu.degreeid}][degreeid]" value="{$main_edu.degreeid}" />
+ <input type="hidden" name="main_edus[{$main_edu.degreeid}][cycle]" value="{$main_edu.cycle}" />
+ </td>
+ </tr>
+ {/foreach}
+</table>
+
+<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 la formation que tu cherches ne figure pas dans la liste,
+ <a href="mailto:support@{#globals.mail.domain#}">contacte-nous</a>.</small>
+ </td>
+ </tr>
+ </table>
+
+{if $viewPrivate || $isMe}
+<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">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>