From 8e5c605f090cf1267e14c649d6a45970a7836ae7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Fri, 22 Apr 2011 16:30:44 +0200 Subject: [PATCH] Do not show last profile modification for unregistered users. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- templates/profile/profile.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 956dfc4..bb33904 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -122,7 +122,7 @@ $($.closeOnEsc); {/if} - {if $logged && $view eq 'private'} + {if $logged && $view eq 'private' && $owner && $owner->state eq 'active'}
Fiche mise à jour
le {$profile->last_change|date_format} -- 2.1.4