X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsurvey%2Findex.tpl;h=81c3b7315217e78a8f7a38786828cabb6b6aea06;hb=173ff0bdf41db90ee0995e0c3bf844bf2151d0e6;hp=9a975361a8a142d49feda0a674a917ec5d11da7c;hpb=853ff307303faf861396c4e22dbaa56114366751;p=platal.git
diff --git a/templates/survey/index.tpl b/templates/survey/index.tpl
index 9a97536..81c3b73 100644
--- a/templates/survey/index.tpl
+++ b/templates/survey/index.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2010 Polytechnique.org *}
+{* Copyright (C) 2003-2011 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@ -24,50 +24,64 @@
{* Survey::MODE_ALL equals 0. *}
{assign var=SurveyMODE_ALL value=0}
+{if $survey_current->total() > 0 || $smarty.session.auth}
+{/if}