From 5f96fea9a07fc3aacbaccdb08431e8cd58eac937 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Sun, 25 Apr 2010 16:25:38 +0200 Subject: [PATCH] Fix template for profile (remaining $o) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- templates/profile/profile.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index a1af8c1..9d0a9b5 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -44,7 +44,7 @@ function chgMainWinLoc(strPage) {assign var=photo value=$profile->getPhoto(false)} {if $photo}Photo de {$profile->fullName()}{/if} - {if $logged && ( $profile->section|smarty:nodefaults || $profile->getBinets()|smarty:nodefaults || ($o && $owner->groups()|smarty:nodefaults))} + {if $logged && ( $profile->section|smarty:nodefaults || $profile->getBinets()|smarty:nodefaults || ($owner && $owner->groups()|smarty:nodefaults))}

À l'X…

{if $profile->section}
Section : {$profile->section}
{/if} @@ -52,7 +52,7 @@ function chgMainWinLoc(strPage) {if $binets|@count}
Binet{if count($binets) > 1}s{/if} : {', '|implode:$profile->getBinetsNames()}
{/if} - {if $o} + {if $owner} {assign var=groups value=$owner->groupNames(true)} {if $groups|@count}
Groupe{if count($groups) > 1}s{/if} et institution{if count($groups) > 1}s{/if} X :
@@ -131,10 +131,10 @@ function chgMainWinLoc(strPage)