{**************************************************************************} {* *} {* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************}

Sondage : {$survey.title}

{if $survey_editmode && !$survey.valid} {assign var="survey_editallmode" value=true} {/if} {if $survey_editmode} {/if} {if is_array($survey.questions)} {foreach from=$survey.questions item=squestion} {if $survey_editallmode} {/if} {/foreach} {/if}
{if $survey.mode != Survey::MODE_ALL} {/if} {if $survey_warning} {/if}
{$survey.description|miniwiki|smarty:nodefaults}
Fin du sondage : {$survey.end|date_format:"%x"}
Type de sondage : {$survey_modes[$survey.mode]}
Promotions : {if $survey.promos eq "#"} erreur {elseif $survey.promos eq ""} aucune restriction {else} {$survey.promos} {/if}
{$survey_warning}
{if $survey_resultmode}

{$survey.votes} personnes ont répondu à ce sondage.
Récupérer l'ensemble des résultats au format csv

{/if}
{icon name=page_edit} Modifier la description {if $survey_editallmode}
{icon name=add} Ajouter une question au début{/if}
{include file='survey/show_question.tpl' squestion=$squestion} {icon name=page_edit} Modifier cette question
{icon name=delete} Supprimer cette question
{icon name=add} Ajouter une question après

{if $survey_editmode} {icon name=tick} {if $survey_updatemode}Enregistrer les modifications{else}Proposer ce sondage{/if} | {icon name=cross} Annuler {if $survey_updatemode}les modifications{else}totalement la création de ce sondage{/if} {elseif $survey_adminmode} {if !$survey.valid}Valider ce sondage | {/if} {icon name=tick} Modifier ce sondage | {icon name=cross} Supprimer ce sondage | Retour {elseif $survey_votemode} {else} Retour {/if}

{* vim:set et sw=2 sts=2 ts=8 enc=utf-8: *}