summaryrefslogtreecommitdiff
path: root/libs/debug.tpl
diff options
context:
space:
mode:
authorUwe.Tews <uwe.tews@localhost>2009-08-29 16:29:52 +0000
committerUwe.Tews <uwe.tews@localhost>2009-08-29 16:29:52 +0000
commitbfefb8e01710da2efd429c61d03e6e024557b8e6 (patch)
tree4652dc2f5dc6fb18029ee78212ad512515318c0f /libs/debug.tpl
parenta13ae6628c652f9f94950b10846efcbe5341ed49 (diff)
downloadsmarty-bfefb8e01710da2efd429c61d03e6e024557b8e6.tar.gz
smarty-bfefb8e01710da2efd429c61d03e6e024557b8e6.tar.bz2
smarty-bfefb8e01710da2efd429c61d03e6e024557b8e6.zip
- implemented caching of registered Resources
- new property 'auto_literal'. if true(default) '{ ' and ' }' interpreted as literal, not as Smarty delimiter
Diffstat (limited to 'libs/debug.tpl')
-rw-r--r--libs/debug.tpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/debug.tpl b/libs/debug.tpl
index d7cfee10..bf823988 100644
--- a/libs/debug.tpl
+++ b/libs/debug.tpl
@@ -4,6 +4,7 @@
<head>
<title>Smarty Debug Console</title>
<style type="text/css">
+{literal}
body, h1, h2, td, th, p {
font-family: sans-serif;
font-weight: normal;
@@ -80,6 +81,7 @@ td {
#table_config_vars th {
color: maroon;
}
+{/literal}
</style>
</head>
<body>
@@ -122,14 +124,13 @@ td {
</html>
{/capture}
<script type="text/javascript">
- if ( self.name == '' ) {
+{literal} if ( self.name == '' ) {
var title = 'Console';
}
else {
var title = 'Console_' + self.name;
- }
+ }{/literal}
_smarty_console = window.open("",title.value,"width=680,height=600,resizable,scrollbars=yes");
_smarty_console.document.write("{$debug_output|escape:'javascript'}");
_smarty_console.document.close();
</script>
-