From bd13073e9d70ed64d1c6310873c581e5bd3c0ccb Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 28 Mar 2008 10:01:57 +0100 Subject: [PATCH] Don't show the registration state on the public search. Signed-off-by: Florent Bruneau --- templates/include/minifiche.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 4fa451b..959f017 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -21,7 +21,7 @@ {**************************************************************************} -{if !$c.inscrit || $c.dcd}
{/if} +{if (!$c.inscrit && $smarty.session.auth ge AUTH_COOKIE) || $c.dcd}
{/if}
@@ -139,6 +139,6 @@
-{if !$c.inscrit || $c.dcd}
{/if} +{if (!$c.inscrit && $smarty.session.auth ge AUTH_COOKIE) || $c.dcd}
{/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} -- 2.1.4