X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=5266ababd281b4f152f5d62c134ac458714ca825;hb=1eddb8dcd2185df6d81f04392063c45a298661b4;hp=a6abc2644d59996552b14b1c07ce1d37c4ca69d1;hpb=7bff4cb031e50e345d346d2a333b5ac7a9d434fd;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index a6abc26..5266aba 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,176 +20,292 @@ {* *} {**************************************************************************} - +
- + - + + + {if $viewPrivate} - - + + {/if} + {if $isMe} - + + + + {/if} + + + + {include file="profile/general.public_names.tpl" names=$search_names.public_names} + {foreach from=$search_names.private_names key=id item=name} + {include file="profile/general.private_name.tpl"} + {/foreach} + + - + + +
- Informations générales - Noms{if t($validation)} (validations en attente de modération){/if}
- - - - - site public - + + {icon name="flag_green" title="site public"} Affichage public + + {$public_name} + + + {icon name="page_edit" title="Plus de détail"} +
- Nom - + + {icon name="flag_red" title="site privé"} Affichage privé - + + {$private_name}
- Prénom - + + Comment t'appeler
+ sur le site, dans la lettre mensuelle... +
+ +
+ Gestion des noms, prénoms, surnoms... + Ils déterminent la façon dont + {if $isMe}ton{else}son{/if} nom apparaît sur les annuaires + en ligne et papier et ta fiche apparaitra quand on cherche un de ces noms.
+
+ - +
+ Si la casse de ton nom est erronée et que tu n'arrives pas à la corriger, + contacte-nous.
+ + + + + - - - - + - + + + - - + + + {if !$isMe} - - + + + + - - + - - - + + - + + + + + + +
+
+ + {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} - modifier{if ($promo_sortie -3 == $promo)} pour les oranges{/if} + + {if !t($promo_choice)} + {$profile->promo()} + + {else} + + {/if} + {icon name="page_edit" title="modifier"}
- Nom d'usage
- {if $smarty.session.sexe} - (Notamment nom d'épouse) +
Date de naissance + Date de naissance +
- Nationalité + + Date de décès - +
+ Date de naissance de référence + + {if hasPerm('admin') && !$is_registered} + + {else} + {$birthdate_ref} + {/if}
- Application
- (4ème année de l'X) + {/if} +
+ Nationalité - -
- -
+ + {icon name=add title="Ajouter une nationalité"}
- Post-application +
+ + {icon name=cross title="Supprimer cette nationalité"} -
+ -
- -
Civilité +
-{if !$no_private_key} - +
- - + {foreach from=$main_edus key=eduid item=main_edu} + {cycle values="impair, pair" assign=class} + + + + + + + + + + - - + + + {/foreach}
- Synchronisation avec l'AX + +
+ + {icon name="flag_green" title="site public"} +
+ Formations à l'École polytechnique
Cycle :{$main_edu.cycle}
Promotion :{if t($main_edu.promo_year)}{$main_edu.promo_year}{/if}
Domaine de formation : -

- 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à. -

-

- -

+
- - - - - -
- - - Autoriser la synchronisation vers l'AX par des administrateurs ou des scripts automatiques. -
+
Description de la formation : + + +
-{/if} - +
- - + + + + +
- Trombinoscope +
+ + {icon name="flag_green" title="site public"} +
+ Formations
- - site public + {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} +
+ +
+ Si la formation que tu cherches ne figure pas dans la liste, + contacte-nous.
+ +{if $viewPrivate || $isMe} + + + + {if $nouvellephoto} {/if} @@ -199,132 +315,100 @@ 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
+
+ +
+ Trombinoscope +
-
Ta photo actuelle
-  [ PHOTO ] +
Photo actuelle
+  [ PHOTO ]
Photo en attente de validation
- + Ta fiche avec cette photo
-  [ PHOTO ] +  [ PHOTO ]
+{/if} + summary="Profil : Divers"> - - - - - - + {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} - - - - + - - - - + - - + - + + {/if} + {if !t($isMe)} + + + + {/if}
Divers
- - - - - -
- - - privé -
-
- Surnom - - + + Téléphones personnels
- - - - - - - - - - -
- - - site public - - - - transmis à l'AX - - - - privé - - Quelle couleur ?? -
+
+ {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} +
- Téléphone mobile - - + + Messageries, networking et sites web
- - - - - - -
- - - site public - - Quelle couleur ?? -
+ {foreach from=$networking item=network key=id} + {include file="profile/general.networking.tpl" nw=$network i=$id} + {/foreach} +
+ +
- Page web Perso - - + + Sports, loisirs, hobbies…
- - - - - - -
- - - site public - - Quelle couleur ?? -
+ {foreach from=$hobbies item=hobby key=id} + {include file="profile/general.hobby.tpl" hobby=$hobby i=$id} + {/foreach} +
+
+ {if $viewPrivate || $isMe} +
- Complément libre - Commentaire ? ICQ ? etc... + + +   + Commentaire
+ + id="freetext" rows="8" cols="50" >{$freetext} +
+
+ Commentaire AX +
+
+ +
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} +{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}