{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2008 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
<h1>Sondages</h1>
+{* Survey::MODE_ALL equals 0. *}
+{assign var=SurveyMODE_ALL value=0}
<table class="bicol">
<tr>
<th>
</th>
</tr>
{iterate item=s from=$survey_current}
- {if $smarty.session.auth || $s.mode == Survey::MODE_ALL}
+ {if $smarty.session.auth || $s.mode == $SurveyMODE_ALL}
<tr class="{cycle name=cs_cycle values="impair,pair"}">
<td class="half">
•
</th>
</tr>
{iterate item=s from=$survey_old}
- {if $smarty.session.auth || $s.mode == Survey::MODE_ALL}
+ {if $smarty.session.auth || $s.mode == $SurveyMODE_ALL}
<tr class="{cycle name=os_cycle values="impair,pair"}">
<td class="half">
•