From 4576bacfbce354a54945eba7fe10c177a2c719b7 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Fri, 20 Feb 2004 12:01:46 +0000 Subject: [PATCH] dernier bugfixes --- templates/database-debug.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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} -- 2.1.4