From: x2000habouzit Date: Mon, 26 Apr 2004 13:37:56 +0000 (+0000) Subject: mise à jour du template de debug database p/r à la nvelle version de smarty X-Git-Tag: xorg/old~1826 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6fed8fb6b016736fa1d61805843c86282e5f4589;p=platal.git mise à jour du template de debug database p/r à la nvelle version de smarty --- diff --git a/templates/database-debug.tpl b/templates/database-debug.tpl index 0e68432..c146b0c 100644 --- a/templates/database-debug.tpl +++ b/templates/database-debug.tpl @@ -21,15 +21,17 @@ {if $query.explain} - {foreach key=key item=item from=$query.explain} + {foreach key=key item=item from=$query.explain[0]} {/foreach} + {foreach item=explain_row from=$query.explain} - {foreach item=item from=$query.explain} + {foreach item=item from=$explain_row} {/foreach} + {/foreach}
{$key}
{$item}
{/if} {/foreach}