Changeset 20473
- Timestamp:
- 2011/03/03 16:35:02 (12 years ago)
- Location:
- branches/version-2_5-dev/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/admin/main_frame.tpl
r20407 r20473 155 155 156 156 </div> 157 <!--{if $smarty.const.ADMIN_MODE == 1}--> 158 <!--{debug output='html'}--> 159 <!--{/if}--> 157 160 </body> 158 161 </html> -
branches/version-2_5-dev/data/module/Smarty/libs/debug.tpl
r20119 r20473 10 10 <style type="text/css"> 11 11 /* <![CDATA[ */ 12 body, h1, h2, td, th, p {13 font-family: sans-serif;14 font-weight: normal;15 font-size: 0.9em;16 margin: 1px;17 padding: 0;18 }19 20 h1 {21 margin: 0;22 text-align: left;23 padding: 2px;24 background-color: #f0c040;25 color: black;26 font-weight: bold;27 font-size: 1.2em;28 }29 30 h2 {31 background-color: #9B410E;32 color: white;33 text-align: left;34 font-weight: bold;35 padding: 2px;36 border-top: 1px solid black;37 }38 39 body {40 background: black;41 }42 43 p, table, div {44 background: #f0ead8;45 }46 47 p {48 margin: 0;49 font-style: italic;50 text-align: center;51 }52 53 table {54 width: 100%;55 }56 57 th, td {58 font-family: monospace;59 vertical-align: top;60 text-align: left;61 width: 50%;62 }63 64 td {65 color: green;66 }67 68 .odd {69 background-color: #eeeeee;70 }71 72 .even {73 background-color: #fafafa;74 }75 76 12 .exectime { 77 13 font-size: 0.8em; … … 101 37 <font color={if $_debug_tpls[templates].type eq "template"}brown{elseif $_debug_tpls[templates].type eq "insert"}black{else}green{/if}> 102 38 {$_debug_tpls[templates].filename|escape:html}</font> 103 {if isset($_debug_tpls[templates].exec_time )}39 {if isset($_debug_tpls[templates].exec_time|smarty:nodefaults)} 104 40 <span class="exectime"> 105 41 ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}) … … 139 75 </html> 140 76 {/capture} 141 {if isset($_smarty_debug_output ) and $_smarty_debug_output eq "html"}77 {if isset($_smarty_debug_output|smarty:nodefaults) and $_smarty_debug_output eq "html"} 142 78 {$debug_output} 143 79 {else}
Note: See TracChangeset
for help on using the changeset viewer.