X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=28d39468628bd7b31df2af40f5d46cad1fdb73d6;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=90c9356ab5764e6c524ec21053c9de610b0eb786;hpb=2b921a8064ea14cd554f03e5f561eb98e79a9246;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 90c9356..28d3946 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,229 +20,180 @@ {* *} {**************************************************************************} - +
- + - - + - - + + + + + {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} + + + +
-
- - {icon name="flag_green" title="site public"} -
- Informations générales -
Noms{if t($validation)} (validations en attente de modération){/if}
- Nom
+
+ {icon name="flag_green" title="site public"} Affichage public - {$nom} - + + {$public_name} + + + {icon name="page_edit" title="Plus de détail"} +
- Prénom
+
+ {icon name="flag_red" title="site privé"} Affichage privé - {$prenom} - + + {$private_name}
- Affichage de ton nom + Comment t'appeller
+ sur le site, dans la lettre mensuelle...
- {if $tooltip_name}{$display_name}{else}{$display_name}{/if} - - {icon name="page_edit" title="Plus de détail"} - + +
+ 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.
+ +
+ + + + + + + + + + + + - + - + - + - - - - - - - - - - - -
+
+ + {icon name="flag_green" title="site public"} +
+ Informations générales +
Promotion - X{$promo}{if ($promo != $promo_sortie - 3)} - X{math equation="a - b" a=$promo_sortie b=3}{/if} - {icon name="page_edit" title="modifier"} + {if !t($promo_choice)} + {$profile->promo()} + + {else} + + {/if} + {icon name="page_edit" title="modifier"} +
Date de naissance
Nationalité - + {select_nat valeur=$nationality1 pad=1} {icon name=add title="Ajouter une nationalité"}
- + {select_nat valeur=$nationality2 pad=1} {icon name=cross title="Supprimer cette nationalité"}
- + {select_nat valeur=$nationality3 pad=1} {icon name=cross title="Supprimer cette nationalité"}
- Application
- (4e année de l'X) -
- -
- - -
- Post-application - - -
- - -
- Si ta formation ne figure pas dans la liste, - contacte-nous. -
+ - + - - - - - - - - - - - - - - - - + + Formations + - + {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} + -
- Noms -
- - +
+ {icon name="flag_green" title="site public"} -   - Affichage courant de ton nom - {icon name="information" title="aide"} -
- -
- explication - {icon name="information" title="aide"} - - -
- ranger ce nom à - {icon name="information" title="aide"} - - -
- - - {icon name="flag_red" title="privé"} -   - Comment on doit t'appeller - {icon name="information" title="aide"} - - -
- 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_orange" title="transmis à l'AX"} - - Autoriser la synchronisation vers l'AX par des administrateurs ou des scripts automatiques. - -
-

- 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} + @@ -258,17 +209,17 @@ {if $nouvellephoto} {/if} @@ -278,7 +229,7 @@ quelque part (sur ton ordinateur ou sur Internet) d'une photo d'identité (dans un fichier au format JPEG, PNG ou GIF).
- Éditer ta photo + Éditer ta photo
@@ -309,15 +260,15 @@ {/if}
- + {icon name=add title="Ajouter un téléphone"} Ajouter un téléphone
- {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} + {if t($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=false i="0"}{/if} - -
Ta photo actuelle
-  [ PHOTO ] +  [ PHOTO ]
Photo en attente de validation
- + Ta fiche avec cette photo
-  [ PHOTO ] +  [ PHOTO ]
Messageries, networking et sites web @@ -327,13 +278,13 @@ {include file="profile/general.networking.tpl" nw=$network i=$id} {/foreach}
+