Happy New Year !
[platal.git] / templates / survey / error.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2013 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22 <h1>Sondages&nbsp;: erreur</h1>
23
24 {if !is_null($survey_errors) && is_array($survey_errors)}
25 <table class="bicol">
26   <tr>
27     <th colspan='2'>Une ou plusieurs erreurs sont survenues</th>
28   </tr>
29   {foreach from=$survey_errors item=survey_error}
30   <tr class="{cycle values="impair,pair"}">
31     <td>&bull; {$survey_error.error}</td>
32     <td><a href="survey/edit/question/{$survey_error.question}">corriger</a></td>
33   </tr>
34   {/foreach}
35 </table>
36 {elseif $survey_message neq ""}
37   {$survey_message}
38 {else}
39 Une erreur inconnue est survenue dans l'édition de ce sondage. N'hésite pas à <a href='send_bug/{ $smarty.server.REQUEST_URI }'>signaler ce bug</a> s'il persiste.
40 {/if}
41 <br/>
42 <a href="{$survey_link}">Retour</a>
43
44 {* vim:set et sw=2 sts=2 ts=8 enc=utf-8: *}