X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsurvey%2Fshow_root.tpl;fp=templates%2Fsurvey%2Fshow_root.tpl;h=0000000000000000000000000000000000000000;hb=2f4b93beb55b35a978d3a9520bdf67ac3abf43fb;hp=ca606fdb6fce9df058a4dd359848f0aa36bcbc63;hpb=7f323fd4fedf47d152c4f257929a55449972d14c;p=platal.git diff --git a/templates/survey/show_root.tpl b/templates/survey/show_root.tpl deleted file mode 100644 index ca606fd..0000000 --- a/templates/survey/show_root.tpl +++ /dev/null @@ -1,117 +0,0 @@ -{**************************************************************************} -{* *} -{* Copyright (C) 2003-2010 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 alt="Modifier" title="Modifier la description"} - {if $survey_editallmode}
{icon name=add title="Ajouter une question au début" alt="Ajouter"}{/if} -
- {include file='survey/show_question.tpl' squestion=$squestion} - - {icon name=page_edit title="Modifier cette question" alt="Modifier"}
- {icon name=delete title="Supprimer cette question" alt="Supprimer"}
- {icon name=add title="Ajouter une question après" alt="Ajouter"} -
-

- {if $smarty.session.survey_validate || ($survey_editmode && !$survey_updatemode)} - - {icon name=tick} - Proposer ce sondage - | - - {icon name=cross} - Annuler totalement la création de ce sondage - - {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: *}