X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fsurvey%2Findex.tpl;h=11105216ea43fb2161c814c364e7c1f3b824e125;hb=9006db5d9e2b5d636b631fb51a834977a067d6bb;hp=1240f4645ba80875971e8e3110a22cdb7c745eba;hpb=a93519575833e6886e055abb8b43b3ada6f163bc;p=platal.git
diff --git a/templates/survey/index.tpl b/templates/survey/index.tpl
index 1240f46..1110521 100644
--- a/templates/survey/index.tpl
+++ b/templates/survey/index.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2009 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@ -22,50 +22,64 @@
Sondages
+{* Survey::MODE_ALL equals 0. *}
+{assign var=SurveyMODE_ALL value=0}
+{if $survey_current->total() > 0 || $smarty.session.auth}
+{/if}