Sugestion on debug console
| From: | Werner Schweizer | Date: | Wed, 17 Apr 2002 18:17:32 +0000 |
| Subject: | Sugestion on debug console | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3796@lists.php.net to get a copy of this message | ||
When creating framed sites with smarty the debug console indicates only
the last changed frame.
I made a small change in debug.tpl to have the framename included in the
console id and on the title.
I sugest to include this modification in the smarty release,
as it will not change anything for single framed sites.
But for multiframes it displays a separate console for every frame.
{* Smarty *}
{* debug.tpl, last updated version 1.4.6 *}
{assign_debug_info}
<SCRIPT language=javascript>
_smarty_console =
window.open("","Console_"+self.name,"width=680,height=600,resizable,scro
llbars=yes");
_smarty_console.document.write("<HTML><TITLE>Smarty Debug
Console_"+self.name+"</TITLE><BODY bgcolor=#ffffff>");
_snip_
TIA
Werner Schweizer