{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2008 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
<table class="bicol">
<tr>
<th>
- Sondages en attente de validation
- </th>
- </tr>
- {iterate item=s from=$survey_waiting}
- <tr class="{cycle values="impair,pair"}">
- <td class="half">
- •
- <a href="survey/admin/edit/{$s.survey_id}">
- {$s.title} ({$s.end|date_format:"%x"})
- </a>
- </td>
- </tr>
- {assign var="has_ws" value="true"}
- {/iterate}
- {if !$has_ws}
- <tr>
- <td class="half">Aucun sondage en attente de validation</td>
- </tr>
- {/if}
-</table>
-
-<br />
-
-<table class="bicol">
- <tr>
- <th>
Sondages en cours
</th>
</tr>
{iterate item=s from=$survey_current}
- <tr class="{cycle values="impair,pair"}">
+ <tr class="{cycle name=cs_cycle values="impair,pair"}">
<td class="half">
•
- <a href="survey/admin/edit/{$s.survey_id}">
- {$s.title} ({$s.end|date_format:"%x"})
+ <a href="survey/admin/{$s.id}">
+ {$s.title} [{$s.end|date_format:"%x"} - {$survey_modes[$s.mode]}]
</a>
</td>
</tr>
</th>
</tr>
{iterate item=s from=$survey_old}
- <tr class="{cycle values="impair,pair"}">
+ <tr class="{cycle name=os_cycle values="impair,pair"}">
<td class="half">
•
- <a href="survey/admin/edit/{$s.survey_id}">
- {$s.title} ({$s.end|date_format:"%x"})
+ <a href="survey/admin/{$s.id}">
+ {$s.title} [{$s.end|date_format:"%x"} - {$survey_modes[$s.mode]}]
</a>
</td>
</tr>