X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsurvey%2Findex.tpl;h=11105216ea43fb2161c814c364e7c1f3b824e125;hb=dd36cc0d7c791ef442c43eb90e4c52c748947dc3;hp=c248d92ae20c48df1ad22a1fcab948341f7e2a46;hpb=b27ccd85af8db2d996495ba1e8a63b504b2a9b4a;p=platal.git
diff --git a/templates/survey/index.tpl b/templates/survey/index.tpl
index c248d92..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}