X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=799004a588f90f542aff73790060cb2513ce70fa;hb=8a43972f58f0a77015ae9e509f1c073d188874d2;hp=9eebac857a797e874fcc7f38c690c1a21cae7a4a;hpb=92c3f9e5a1c480d9c25dd98aff56e792c378d0fe;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 9eebac8..799004a 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,216 +20,177 @@ {* *} {**************************************************************************} - +
- + - - - - - - - - - - - - - - - - - - - - + - - - + - - + -
-
- - {icon name="flag_green" title="site public"} -
- Informations générales -
Noms
- Nom
-
- {$nom} - + + {icon name="flag_green" title="site public"} Affichage public
- Prénom
+
+ {$public_name} - {$prenom} - -
- Affichage de ton nom - - {if $tooltip_name}{$display_name}{else}{$display_name}{/if} - + + {icon name="page_edit" title="Plus de détail"}
- Promotion + + {icon name="flag_red" title="site privé"} Affichage privé - X{$promo}{if ($promo != $promo_sortie - 3)} - X{math equation="a - b" a=$promo_sortie b=3}{/if} - {icon name="page_edit" title="modifier"} + + {$private_name}
Date de naissance
- Nationalité - - + Comment t'appeller
+ sur le site, dans la lettre mensuelle...
- Application
- (4e année de l'X) -
- -
- - +
- Post-application - - -
- - +
+ Gestion de tes noms, prénoms, surnoms... + Ils déterminent la façon dont ton nom apparaît sur les annuaires + en ligne et papier et ta fiche apparaitra quand on cherche un de ces noms. Pour plus + d'explications sur l'icône suivante + {icon name="information" title="Plus d'infos"}.
+
Si un de tes noms commence par une particule, + coche la case en bout de ligne.
- Si ta formation ne figure pas dans la liste, - contacte-nous. + {foreach from=$search_names item=sn key=id} + {include file="profile/general.searchname.tpl" i=$id sn=$sn + class="names_advanced" style="display: none" error_name=$errors.search_names} + {/foreach} +
+
+ - + - + - - + + - + - + + + + + - -
- Noms +
+ + {icon name="flag_green" title="site public"} +
+ Informations générales
- - - {icon name="flag_green" title="site public"} -   - Affichage courant de ton nom - {icon name="information" title="aide"} + Promotion - + {if !$promo_choice} + {$promo} + + {else} + + {/if} + {icon name="page_edit" title="modifier"}
- explication - {icon name="information" title="aide"} -
- + Date de naissance
- ranger ce nom à - {icon name="information" title="aide"} + Nationalité - + + {icon name=add title="Ajouter une nationalité"}
- - - {icon name="flag_red" title="privé"} -   - Comment on doit t'appeller - {icon name="information" title="aide"} + + {icon name=cross title="Supprimer cette nationalité"}
- + + {icon name=cross title="Supprimer cette nationalité"}
- Recherche, ta fiche apparaît quand on cherche un de ces noms - {icon name="information" title="aide"} - {iterate from=$search_names item="sn"} -
- {include file="profile/general.searchname.tpl" i=$sn.sn_id sn=$sn} -
- {/iterate} - -
-{if !$no_private_key} - +
- - - + - - + -
- Synchronisation avec l'AX + +
+ + {icon name="flag_green" title="site public"} +
+ Formations
- - {icon name="flag_orange" title="transmis à l'AX"} - - Autoriser la synchronisation vers l'AX par des administrateurs ou des scripts automatiques. - + {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} + {if $edus|@count eq 0} + {cycle values="impair, pair" assign=class} + {include file="profile/general.edu.tpl" eduid=0 edu=0 class=$class} + {/if} + {cycle values="impair, pair" assign=class} + {assign var=eduaddid value=$edus|@count} +
+
-

- Le service annuaire de l'AX 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 fiche AX. -

-

- 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 fiche AX selon ce qui s'y trouve déjà. -

-

- -

+
+ Si ta formation ne figure pas dans la liste, + contacte-nous.
-{/if} + + summary="Profil : Trombinoscope"> @@ -237,17 +198,17 @@ {if $nouvellephoto} {/if} @@ -264,27 +225,39 @@
- - {icon name="flag_green" title="site public"} +
Trombinoscope
Ta photo actuelle
-  [ PHOTO ] +  [ PHOTO ]
Photo en attente de validation
- + Ta fiche avec cette photo
-  [ PHOTO ] +  [ PHOTO ]
+ summary="Profil : Divers"> - - + + {if $email_error} - {include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory_error error=$email_error} - {else}{include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory error=$email_error}{/if} + {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} -
Divers
- Téléphone mobile + + Téléphones personnels - - - {include file="include/flags.radio.tpl" name="mobile_pub" val=$mobile_pub} - +
+ {foreach from=$tels key=telid item=tel} +
+ {include file="profile/phone.tpl" prefname='tels' prefid='tels' telid=$telid tel=$tel} +
+ {/foreach} + {if $tels|@count eq 0} +
+ {include file="profile/phone.tpl" prefname='tels' preid='tels' telid=0 tel=0} +
+ {/if} +
Messageries, networking et sites web @@ -308,26 +281,12 @@
- - {icon name="flag_green" title="site public"} +   Commentaire