projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix networking display on profiles
[platal.git]
/
templates
/
profile
/
profile.tpl
diff --git
a/templates/profile/profile.tpl
b/templates/profile/profile.tpl
index
6576785
..
759bff1
100644
(file)
--- a/
templates/profile/profile.tpl
+++ b/
templates/profile/profile.tpl
@@
-62,7
+62,8
@@
function chgMainWinLoc(strPage)
{/if}
{/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}
{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}
{if $corps && ($corps->current || $corps->original)}
<ul>
{if $corps->current}
- <li>Corps actuel : {$corps->current_name} {$corps->current_rank}
+ <li>Corps actuel : {$corps->current_name} {$corps->current_rank}
</li>
{/if}
{if $corps->original}
{/if}
{if $corps->original}
- <li>Corps d'origine : {$corps->original_name}
+ <li>Corps d'origine : {$corps->original_name}
</li>
{/if}
</ul>
{/if}
{/if}
</ul>
{/if}