Fix AJAX :
[platal.git] / templates / database-debug.tpl
index 2a7fd4c..944ad65 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 <table class="bicol" style="width: 75%; font-family: monospace; font-size: smaller; margin-left:2px; margin-top: 3px;">
   <tr class="impair">
     <td>
-      <strong>QUERY:</strong><br />
-      {$query.query|nl2br}
-      <br />
+      <strong>QUERY:</strong>
+      <pre style="padding: 0; margin: 0;">{$query.query}</pre>
+      <br/>
     </td>
   </tr>
   {if $query.error}
   <tr>
     <td>
-      <strong>ERROR:</strong><br />
+      <strong style="color: #f00">ERROR:</strong><br />
       {$query.error|nl2br}
     </td>
   </tr>