X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=54c6b07ccd0ac67c1c116ec6fc6f351f85bc2099;hb=f875fdc7a9cd2b879598a1e0ac0cb73456e4e809;hp=e6a51d207b3d13d9ef1f165d2781ef6f44ef6658;hpb=61e0e8619a9e391d9536d1af3c8cd441491bbc99;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index e6a51d2..54c6b07 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -43,10 +43,26 @@ function chgMainWinLoc(strPage)
{if $photo_url}Photo de {$x.forlife}{/if} {if $logged && ( $x.section|smarty:nodefaults || $x.binets_join|smarty:nodefaults || $x.gpxs_join|smarty:nodefaults)} -

A l'X...

+

À l'X...

{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 :
{$x.gpxs_join|smarty:nodefaults}
{/if} + {if $x.binets_join}
Binet{if count($x.binets) > 1}s{/if} : + {$x.binets_join}
{/if} + {if $x.gpxs_join}
Groupe{if count($x.gpxs) > 1}s{/if} et institution{if count($x.gpxs) > 1}s{/if} X : +
{$x.gpxs_join|smarty:nodefaults}
{/if} + {/if} + {if $x.networking} +

Sur le web...

+ {foreach from=$x.networking item=network} + {$network.name} + {if $network.filter == 'web'} + {$network.address} + {elseif $network.link != ''} + {$network.address} + {else} + {$network.address} + {/if} +
+ {/foreach} {/if} {if $x.freetext}

Commentaires :

@@ -56,11 +72,10 @@ function chgMainWinLoc(strPage)
{if $x.sexe}•{/if} - {$x.prenom} {if $x.nom_usage eq ""}{$x.nom}{else}{$x.nom_usage} ({$x.nom}){/if} + {$x.name_display} {if $logged} {if $x.nickname} (alias {$x.nickname}){/if} {/if} - {if $x.web} {icon name="world_go" title="Site Web"}{/if} {if $logged}  {if !$x.dcd}{* *}{icon name=vcard title="Afficher la carte de visite"}{/if} @@ -86,14 +101,14 @@ function chgMainWinLoc(strPage) le {$x.date|date_format}
{/if} - {if $logged || $x.mobile} + {if $logged || $x.tels}
{if $logged} {/if} - {if $x.mobile} -
- Mobile : {$x.mobile} -
+ {if $x.tels} + {display_phones tels=$x.tels} {/if}
{/if}
- {if $x.iso3166} - {$x.nationalite}  + {if $x.iso3166_1} + {$x.nationalite}  + {/if} + {if $x.iso3166_2} + {$x.nationalite2}  + {/if} + {if $x.iso3166_3} + {$x.nationalite3}  {/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 $x.education} +  - Formation : {$x.education|smarty:nodefaults} {/if} {if $logged && $x.is_referent} [Ma fiche référent] {/if} + {if $x.corps} +
+ {$x.corps|smarty:nodefaults} + {/if}
{if $x.adr}