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