X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=3cabb1cf9d41c80590b38820b621560fcaa7c4e8;hb=9891bd15f772caef0c199a98f036e976bf4ab94a;hp=ebde068ce6dabc2a1bf56e61a85328bd5b7ba8cf;hpb=756ff73fbb0cdd01cce2eda27ba18e1cc99bd735;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index ebde068..3cabb1c 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,60 +20,98 @@ {* *} {**************************************************************************} - +
- + - - + - - + + + + + + {foreach from=$search_names item=sn key=id} + {include file="profile/general.searchname.tpl" i=$id sn=$sn class="names_advanced" style="display: none"} + {/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} + +
+ + + + + - + @@ -82,43 +120,68 @@ - - + + - + + -
+
+ + {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"} - modifier + {if !$promo_choice} + {$promo_display} + {else} + + {/if} + {icon name="page_edit" title="modifier"}
Date de naissance + Date de naissance +
+ {icon name=add title="Ajouter une nationalité"}
- Application
- (4ème année de l'X) -
- -
- - + {select_nat valeur=$nationalite2 pad=1} + {icon name=cross title="Supprimer cette nationalité"}
- Post-application - - -
- - + {select_nat valeur=$nationalite3 pad=1} + {icon name=cross title="Supprimer cette nationalité"}
+ + + + + {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} + + + + + + +
+
+ + {icon name="flag_green" title="site public"} +
+ Formations +
+ +
+ Si ta formation ne figure pas dans la liste, + contacte-nous. +
+ {if !$no_private_key} @@ -153,12 +216,12 @@ {/if}
+ summary="Profil : Trombinoscope"> @@ -166,17 +229,17 @@ {if $nouvellephoto} {/if} @@ -193,59 +256,84 @@
- - {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 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} + + + +
Divers
- - - {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} +
- - - {icon name="flag_green" title="site public"} -   - Page web Perso + + Messageries, networking et sites web - +
+
- - {icon name="flag_green" title="site public"} +   - Complément libre
- Commentaire ? ICQ ? etc... + Commentaire