From: x2000habouzit Date: Fri, 20 Feb 2004 12:01:46 +0000 (+0000) Subject: dernier bugfixes X-Git-Tag: xorg/old~1842 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=4576bacfbce354a54945eba7fe10c177a2c719b7;p=platal.git dernier bugfixes --- diff --git a/templates/database-debug.tpl b/templates/database-debug.tpl index d678b57..0e68432 100644 --- a/templates/database-debug.tpl +++ b/templates/database-debug.tpl @@ -5,7 +5,7 @@ QUERY:
- {$query.query|regex_replace:"/(\n|^|$) */":"\n "|replace:" ":" "|nl2br} + {$query.query|regex_replace:"/(\n|^|$) */":"\n "|replace:" ":" "|nl2br}
@@ -18,7 +18,8 @@ {/if} - +{if $query.explain} +
{foreach key=key item=item from=$query.explain} @@ -30,6 +31,7 @@ {/foreach}
{$key}
+{/if} {/foreach} {/dynamic}