summaryrefslogtreecommitdiff
path: root/libs/debug.tpl
diff options
context:
space:
mode:
authorUwe Tews <uwe.tews@googlemail.com>2015-05-07 04:36:49 +0200
committerUwe Tews <uwe.tews@googlemail.com>2015-05-07 04:36:49 +0200
commit37449b2fcb8d1da7749c90e7dc258bd1580a0b0b (patch)
treee9ae9398c7e4f7fb8a2e481ccfc3c7d2cc13b218 /libs/debug.tpl
parentaf08353e93dc6dc7b269a54217b7556dfeeb5b12 (diff)
downloadsmarty-37449b2fcb8d1da7749c90e7dc258bd1580a0b0b.tar.gz
smarty-37449b2fcb8d1da7749c90e7dc258bd1580a0b0b.tar.bz2
smarty-37449b2fcb8d1da7749c90e7dc258bd1580a0b0b.zip
- improvement of the debugging console. Read NEW_FEATURES.txt
Diffstat (limited to 'libs/debug.tpl')
-rw-r--r--libs/debug.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/debug.tpl b/libs/debug.tpl
index c414496a..464727b6 100644
--- a/libs/debug.tpl
+++ b/libs/debug.tpl
@@ -153,8 +153,8 @@
{/capture}
<script type="text/javascript">
{$id = ''}
- {if $display_mode}{$id = $template_name|md5}{/if}
- _smarty_console = window.open("", "console{$id}", "width=680,height=600,resizable,scrollbars=yes");
+ {if $display_mode}{$id = "$offset$template_name"|md5}{/if}
+ _smarty_console = window.open("", "console{$id}", "width=680,height=600,left={$offset},top={$offset},resizable,scrollbars=yes");
_smarty_console.document.write("{$debug_output|escape:'javascript' nofilter}");
_smarty_console.document.close();
</script>