Index: branches/version-2_5-dev/data/module/Smarty/libs/debug.tpl
===================================================================
--- branches/version-2_5-dev/data/module/Smarty/libs/debug.tpl	(revision 20119)
+++ branches/version-2_5-dev/data/module/Smarty/libs/debug.tpl	(revision 20473)
@@ -10,68 +10,4 @@
 <style type="text/css">
 /* <![CDATA[ */
-body, h1, h2, td, th, p {
-    font-family: sans-serif;
-    font-weight: normal;
-    font-size: 0.9em;
-    margin: 1px;
-    padding: 0;
-}
-
-h1 {
-    margin: 0;
-    text-align: left;
-    padding: 2px;
-    background-color: #f0c040;
-    color:  black;
-    font-weight: bold;
-    font-size: 1.2em;
- }
-
-h2 {
-    background-color: #9B410E;
-    color: white;
-    text-align: left;
-    font-weight: bold;
-    padding: 2px;
-    border-top: 1px solid black;
-}
-
-body {
-    background: black; 
-}
-
-p, table, div {
-    background: #f0ead8;
-} 
-
-p {
-    margin: 0;
-    font-style: italic;
-    text-align: center;
-}
-
-table {
-    width: 100%;
-}
-
-th, td {
-    font-family: monospace;
-    vertical-align: top;
-    text-align: left;
-    width: 50%;
-}
-
-td {
-    color: green;
-}
-
-.odd {
-    background-color: #eeeeee;
-}
-
-.even {
-    background-color: #fafafa;
-}
-
 .exectime {
     font-size: 0.8em;
@@ -101,5 +37,5 @@
     <font color={if $_debug_tpls[templates].type eq "template"}brown{elseif $_debug_tpls[templates].type eq "insert"}black{else}green{/if}>
         {$_debug_tpls[templates].filename|escape:html}</font>
-    {if isset($_debug_tpls[templates].exec_time)}
+    {if isset($_debug_tpls[templates].exec_time|smarty:nodefaults)}
         <span class="exectime">
         ({$_debug_tpls[templates].exec_time|string_format:"%.5f"})
@@ -139,5 +75,5 @@
 </html>
 {/capture}
-{if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"}
+{if isset($_smarty_debug_output|smarty:nodefaults) and $_smarty_debug_output eq "html"}
     {$debug_output}
 {else}
