Fix networking display on profiles
[platal.git] / templates / profile / profile.tpl
index 6576785..759bff1 100644 (file)
@@ -62,7 +62,8 @@ function chgMainWinLoc(strPage)
 
     {/if}
 
-    {assign var=networking value=$profile->getNetworking(0)}
+    {* 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}
@@ -181,10 +182,10 @@ function chgMainWinLoc(strPage)
       {if $corps && ($corps->current || $corps->original)}
       <ul>
         {if $corps->current}
-          <li>Corps actuel&nbsp;: {$corps->current_name} {$corps->current_rank}
+          <li>Corps actuel&nbsp;: {$corps->current_name} {$corps->current_rank}</li>
         {/if}
         {if $corps->original}
-          <li>Corps d'origine&nbsp;: {$corps->original_name}
+          <li>Corps d'origine&nbsp;: {$corps->original_name}</li>
         {/if}
       </ul>
       {/if}