X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=43c3e9be187f01ce9d5c81b9722b64715ee19b42;hb=7c1edf78427ab5324278e3a2bcb65c50ba4e937c;hp=ee429934ca931c0384acccbacd8d29f6571bb7cf;hpb=5ddeb07cc787dd1dc3630a31f1528f5cc7c4d9b9;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index ee42993..43c3e9b 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -21,174 +21,174 @@ {**************************************************************************} {literal} - +//]]> {/literal} {if $logged and $x.forlife eq $smarty.session.forlife} -[Modifier ma fiche] +[Modifier ma fiche] {/if} -
-
- {if $x.sexe}•{/if}
- {$x.prenom} {if $x.nom_usage eq ""}{$x.nom}{else}{$x.nom_usage} ({$x.nom}){/if}
- {if $logged}
- {if $x.nickname} (alias {$x.nickname}){/if}
- {*
- *}{icon name=vcard title="Afficher la carte de visite"}
- {if !$x.is_contact}
-
- {icon name=add title="Ajouter à mes contacts"}
+
+
+ {if $photo_url}{/if}
+ {if $logged}
+ {if $x.section}
+ Section : {$x.section} {/if}
+ {if $x.binets_join}Binet(s) : {$x.binets_join} {/if}
+ {if $x.gpxs_join}Groupe(s) et institution(s) X : {/if}
+ {/if}
+ {if $x.web}{$x.gpxs_join|smarty:nodefaults} Site Web : {/if}
+ {if $x.freetext}{$x.web} Commentaires : {/if}
+ {$x.freetext|miniwiki|smarty:nodefaults}
+
+ {if $x.sexe}•{/if}
+ {$x.prenom} {if $x.nom_usage eq ""}{$x.nom}{else}{$x.nom_usage} ({$x.nom}){/if}
+ {if $logged}
+ {if $x.nickname} (alias {$x.nickname}){/if}
+ {*
+ *}{icon name=vcard title="Afficher la carte de visite"}
+ {if !$x.is_contact}
+
+ {icon name=add title="Ajouter à mes contacts"}
+ {else}
+
+ {icon name=cross title="Retirer de mes contacts"}
+ {/if}
+ {if hasPerm('admin')}
+
+ {icon name=wrench title="administrer user"}
+ {/if}
+ {/if}
+
+ {if $logged}
+
+ Fiche mise à jour
+ {/if}
+ {if $logged || $x.mobile}
+ + le {$x.date|date_format} +
+ {if $logged}
+
+ {if $x.dcd}
+ Décédé{if $x.sexe}e{/if} le {$x.deces|date_format}
+ {elseif !$x.actif}
+ Ce camarade n'a plus d'adresse de redirection valide,
- {if $logged}
- + clique ici si tu connais son adresse email ! + {elseif !$x.inscrit} + Cette personne n'est pas inscrite à Polytechnique.org, + clique ici si tu connais son adresse email ! {else} - - {icon name=cross title="Retirer de mes contacts"} + {if $virtualalias} + {$virtualalias} {/if} - {if $smarty.session.perms eq admin} - - {icon name=wrench title="administrer user"} + {$x.bestalias}@{#globals.mail.domain#} + {if $x.bestalias neq $x.forlife} + {$x.forlife}@{#globals.mail.domain#} {/if} {/if}
- Fiche mise à jour
{/if}
- {if $logged || $x.mobile}
- - le {$x.date|date_format} -
- {if $logged}
-
- {if $x.dcd}
- Décédé{if $x.sexe}e{/if} le {$x.deces|date_format}
- {elseif !$x.actif}
- Ce camarade n'a plus d'adresse redirection valide,
- {/if}
- - clique ici si tu connais son adresse email ! - {elseif !$x.inscrit} - Cette personne n'est pas inscrite à Polytechnique.org, - clique ici si tu connais son adresse email ! - {else} - {if $virtualalias} - {$virtualalias} - {/if} - {$x.bestalias}@{#globals.mail.domain#} - {if $x.bestalias neq $x.forlife} - {$x.forlife}@{#globals.mail.domain#} - {/if} - {/if} -
- {if $x.mobile}Mobile : {$x.mobile}
-
+ {if $x.mobile}
+ {/if} -
+ Mobile : {$x.mobile}
{/if}
-
- {if $x.iso3166}
-
- {/if}
- X {$x.promo}
- {if ($x.promo_sortie-3 > $x.promo)}
- - X {math equation="a-b" a=$x.promo_sortie b=3}
- {/if}
- {if $x.applis_join}
- - Formation : {$x.applis_join|smarty:nodefaults}
- {/if}
- {if $logged}
- {if $x.is_referent}
- [Ma fiche référent]
- {/if}
- {/if}
-
- |
-
- {if $photo_url}{/if}
- {if $logged}
- {if $x.section} Section : {$x.section} {/if}
- {if $x.binets_join}Binet(s) : {$x.binets_join} {/if}
- {if $x.gpxs_join}Groupe(s) X : {$x.gpxs_join|smarty:nodefaults} {/if}
+
+
+ {/if}
+
+ {if $x.iso3166}
+
+ {/if}
+ X {$x.promo}
+ {if ($x.promo_sortie-3 > $x.promo)}
+ - X {math equation="a-b" a=$x.promo_sortie b=3}
{/if}
- {if $x.web} Site Web : {$x.web} {/if}
- {if $x.freetext}Commentaires : {/if}
- {$x.freetext|nl2br|smarty:nodefaults} |
- |
- Contact :- {foreach from=$x.adr item="address" key="i"} - {if $address.active} - {include file="geoloc/address.tpl" address=$address titre_div=true titre="Mon adresse actuelle :"} - {elseif $address.secondaire} - {include file="geoloc/address.tpl" address=$address titre_div=true titre="Adresse secondaire :"} - {else} - {include file="geoloc/address.tpl" address=$address titre_div=true titre="Adresse principale :"} - {/if} - {/foreach} - |
- ||
- Informations professionnelles :- {foreach from=$x.adr_pro item="address" key="i"} +
+ Informations professionnelles :+ {foreach from=$x.adr_pro item="address" key="i"} + {if $i neq 0}{/if} {include file="include/emploi.tpl" address=$address} - {include file="geoloc/address.tpl" address=$address titre="Adresse : "} + {include file="geoloc/address.tpl" address=$address titre="Adresse : " for=$address.entreprise pos="left"} |
- ||
- Distinctions :- {foreach from=$x.medals item=m} -
|
- ||
- Curriculum Vitae :- {$x.cv|nl2br} - |
- ||
Cette fiche est publique et visible par tout internaute, -vous pouvez aussi voir celle réservée aux X. - |