1 {**************************************************************************}
\r
3 {* Copyright (C) 2003-2010 Polytechnique.org *}
\r
4 {* http://opensource.polytechnique.org/ *}
\r
6 {* This program is free software; you can redistribute it and/or modify *}
\r
7 {* it under the terms of the GNU General Public License as published by *}
\r
8 {* the Free Software Foundation; either version 2 of the License, or *}
\r
9 {* (at your option) any later version. *}
\r
11 {* This program is distributed in the hope that it will be useful, *}
\r
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
\r
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
\r
14 {* GNU General Public License for more details. *}
\r
16 {* You should have received a copy of the GNU General Public License *}
\r
17 {* along with this program; if not, write to the Free Software *}
\r
18 {* Foundation, Inc., *}
\r
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
\r
21 {**************************************************************************}
\r
23 <script type="text/javascript">
\r
26 $(document).ready(function() {
\r
27 $(".error_state").click(function() {
\r
28 $(this).children(".error_state_content").toggle();
\r
35 <h1>Erreurs d'exécution</h1>
\r
36 {iterate from=$errors item=error}
\r
38 <legend>{$error->date}</legend>
\r
39 <pre>{$error->error}</pre>
\r
40 {foreach from=$error->state item=table key=name}
\r
41 <div class="error_state">
\r
42 <div><strong>{$name} (click to show/hide content)</strong></div>
\r
43 <div class="error_state_content" style="display: none">
\r
45 $var = $this->get_template_vars('table');
\r
53 <form action="site_errors" method="post">
\r
55 <input type="submit" name="clear" value="Effacer les erreurs" />
\r
60 {* vim:set et sws=2 sts=2 sw=2 enc=utf-8: *}
\r