X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=8b8aeee3c460e7543f92fdc1c5ed48272b4d1819;hb=bde2be3b1777bf1f66c6d2b2cdecc361d6191911;hp=e6a51d207b3d13d9ef1f165d2781ef6f44ef6658;hpb=01ab5780ddaab6adf864c576205905ac37dfbe65;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index e6a51d2..8b8aeee 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 :

@@ -60,7 +76,6 @@ function chgMainWinLoc(strPage) {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,7 +101,7 @@ function chgMainWinLoc(strPage) le {$x.date|date_format}
{/if} - {if $logged || $x.mobile} + {if $logged || $x.tels}
{if $logged}
@@ -109,10 +124,8 @@ function chgMainWinLoc(strPage) {/if}
{/if} - {if $x.mobile} -
- Mobile : {$x.mobile} -
+ {if $x.tels} + {display_phones tels=$x.tels} {/if}