X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fsurvey%2Findex.tpl;h=81c3b7315217e78a8f7a38786828cabb6b6aea06;hb=173ff0bdf41db90ee0995e0c3bf844bf2151d0e6;hp=1240f4645ba80875971e8e3110a22cdb7c745eba;hpb=950a769bb3f3154de64960ffc5cac111263bc8b0;p=platal.git
diff --git a/templates/survey/index.tpl b/templates/survey/index.tpl
index 1240f46..81c3b73 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,66 @@
Sondages
+{* Survey::MODE_ALL equals 0. *}
+{assign var=SurveyMODE_ALL value=0}
+{if $survey_current->total() > 0 || $smarty.session.auth}
+{/if}