X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsurvey%2Findex.tpl;h=294a558028934c1d6311a93efcec3992bed93a08;hb=d5524e7bd1216a4e0b8ea084f41e7e7df801deef;hp=c248d92ae20c48df1ad22a1fcab948341f7e2a46;hpb=c3c43c0ebe734e2b43b5d5fdb6010d08358bc34b;p=platal.git
diff --git a/templates/survey/index.tpl b/templates/survey/index.tpl
index c248d92..294a558 100644
--- a/templates/survey/index.tpl
+++ b/templates/survey/index.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2009 Polytechnique.org *}
+{* Copyright (C) 2003-2011 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}