From: Florent Bruneau Date: Fri, 28 Mar 2008 09:01:57 +0000 (+0100) Subject: Don't show the registration state on the public search. X-Git-Tag: xorg/0.9.16~46 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=bd13073e9d70ed64d1c6310873c581e5bd3c0ccb;p=platal.git Don't show the registration state on the public search. Signed-off-by: Florent Bruneau --- 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: *}