- {if $x.section}<div><em class="intitule">Section : </em><span>{$x.section}</span></div>{/if}
- {if $x.binets_join}<div><em class="intitule">Binet{if count($x.binets) > 1}s{/if} : </em>
- <span>{$x.binets_join}</span></div>{/if}
- {if $x.gpxs_join}<div><em class="intitule">Groupe{if count($x.gpxs) > 1}s{/if} et institution{if count($x.gpxs) > 1}s{/if} X : </em>
- <span><br/>{$x.gpxs_join|smarty:nodefaults}</span></div>{/if}
+ {if $profile->section}<div><em class="intitule">Section : </em><span>{$profile->section}</span></div>{/if}
+
+ {assign var=binets value=$profile->getBinets()}
+ {if $binets|@count}<div><em class="intitule">Binet{if count($binets) > 1}s{/if} : </em>
+ <span>{', '|implode:$profile->getBinetsNames()}</span></div>{/if}
+
+ {if $owner && $view eq 'private'}
+ {assign var=groups value=$owner->groupNames(true)}
+ {if $groups|@count}<div><em class="intitule">Groupe{if count($groups) > 1}s{/if} et institution{if count($groups) > 1}s{/if} X : </em>
+ <span><br/>
+ {foreach from=$groups item=group key=gk}{if $gk != 0}, {/if}<span title="{$group.nom}"><a href="{$group.site}">{$group.nom}</a></span>{/foreach}
+ </span></div>{/if}
+ {/if}
+
+ {/if}
+
+ {* 458752 stands for 0x70000 = Profile::NETWORKING_ALL *}
+ {assign var=networking value=$profile->getNetworking(458752)}
+ {if count($networking) > 0}
+ <h2>Sur le web...</h2>
+ {foreach from=$networking item=network}
+ <img style="width: auto; padding: 0" src="profile/networking/{$network.nwid}" alt="{$network.name}" title="{$network.name}"/>
+ {if $network.link}
+ <a href="{$network.link|replace:'%s':$network.address}">{$network.address}</a>
+ {else}
+ {$network.address}
+ {/if}
+ <br/>
+ {/foreach}