X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=ebed93dbd3b8a57205cf9e9c187ce43773a35f89;hb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;hp=86070e6825d0e610ae2b5171f05191f7204a548b;hpb=4f494e74bb1310de55ce335324a966e31b6c72cb;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 86070e6..ebed93d 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 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,143 +20,169 @@ {* *} {**************************************************************************} - +
- + - - + - - + + + + + + {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
- Nom - + + {icon name="flag_green" title="site public"} Affichage public - + + {$public_name} + + + {icon name="page_edit" title="Plus de détail"} +
- Prénom - + + {icon name="flag_red" title="site privé"} Affichage privé - + + {$private_name}
- Promotion + Comment t'appeller
+ sur le site, dans la lettre mensuelle...
- X{$promo}{if ($promo != $promo_sortie - 3)} - X{math equation="a - b" a=$promo_sortie b=3}{/if} - modifier{if ($promo_sortie -3 == $promo)} pour les oranges{/if} + +
+ 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 +
- Nom d'usage
- {if $smarty.session.sexe} - (Notamment nom d'épouse) - {else} - (si différent de {$nom} seulement) - {/if} + Promotion
- {$nom_usage|default:"Aucun"} - {if $nom_usage}modifier{else}Faire une demande{/if} + {if !$promo_choice} + {$promo} + + {else} + + {/if} + {icon name="page_edit" title="modifier"}
Date de naissance + Date de naissance +
Nationalité - + {select_nat valeur=$nationality1 pad=1} + {icon name=add title="Ajouter une nationalité"}
- Application
- (4e année de l'X) -
- -
- - + {select_nat valeur=$nationality2 pad=1} + {icon name=cross title="Supprimer cette nationalité"}
- Post-application -
- + {select_nat valeur=$nationality3 pad=1} -
- - -
- Si ta formation ne figure pas dans la liste, - contacte-nous. + {icon name=cross title="Supprimer cette nationalité"}
+ -{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} + @@ -172,17 +198,17 @@ {if $nouvellephoto} {/if} @@ -206,41 +232,53 @@ - - - - + {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} - - + {foreach from=$networking item=network key=id} + {include file="profile/general.networking.tpl" nw=$network i=$id} + {/foreach} + + + @@ -250,8 +288,7 @@   - Complément libre
- Commentaire ? ICQ ? etc... + Commentaire
Ta photo actuelle
-  [ PHOTO ] +  [ PHOTO ]
Photo en attente de validation
- + Ta fiche avec cette photo
-  [ PHOTO ] +  [ PHOTO ]
- - - {icon name="flag_red" title="privé"} -   - Surnom - - + + Téléphones personnels
- Téléphone mobile - - - - {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} +
- - -   - Page web Perso + + Messageries, networking et sites web - +
+