X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=f3bddc014ef16879e8e7ef44c7df7f79f935077d;hb=043bbacf7d5ceaeba4db582ac0ea7c75d6f13c80;hp=9a4ee387218d2f551fdcdc9cb123b76ca223272e;hpb=01ab5780ddaab6adf864c576205905ac37dfbe65;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 9a4ee38..f3bddc0 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -33,47 +33,46 @@ - Nom - + Nom
- + {$nom} + - Prénom - + Prénom
- + {$prenom} + - Promotion + Affichage de ton nom - 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 $tooltip_name}{$display_name}{else}{$display_name}{/if} + + {icon name="page_edit" title="Plus de détail"} + - 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 + X{$promo}{if ($promo != $promo_sortie - 3)} - X{math equation="a - b" a=$promo_sortie b=3}{/if} + {icon name="page_edit" title="modifier"} - Date de naissance + + Date de naissance + @@ -82,41 +81,136 @@ + {icon name=add title="Ajouter une nationalité"} - + + - Application
- (4e année de l'X) + + {icon name=cross title="Supprimer cette nationalité"} + + + - -
- - + {select_nat valeur=$nationalite3 pad=1} + {icon name=cross title="Supprimer cette nationalité"} - + + + Formation + + + + {foreach from=$edus key=eduid item=edu} + + +
+ {include file="profile/edu.tpl" eduid="$eduid" edu="$edu" edu_fields=$edu_fields} +
+ + + {/foreach} + {if $edus|@count eq 0} + + +
+ {include file="profile/edu.tpl" eduid=0 edu=0} +
+ + + {/if} + + +
+ + {icon name=add title="Ajouter une formation"} Ajouter une formation + +
+ + + + + Si ta formation ne figure pas dans la liste, + contacte-nous. + + + + + + + + + + + + + + + + + + + + + + + {if !$no_private_key} @@ -153,12 +247,12 @@ {/if} + summary="Profil : Trombinoscope"> @@ -193,59 +287,84 @@
- - {icon name="flag_green" title="site public"} +
Trombinoscope
+ 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} - - + {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