File: debug.tmpl

package info (click to toggle)
phpwiki 1.3.14-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 15,716 kB
  • ctags: 23,548
  • sloc: php: 88,295; sql: 1,476; sh: 1,378; perl: 765; makefile: 602; awk: 28
file content (25 lines) | stat: -rwxr-xr-x 1,125 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php // -*-html-*-
  rcs_id('$Id: debug.tmpl,v 1.18 2007/01/04 16:48:58 rurban Exp $');
?>
<?php global $RUNTIMER; ?>
<table width="%100" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php /* Note: The Portland theme's debug.tmpl overrides this file with it's own non-graphical variant. */ ?>
<div id="xhtml-validator"><a href="http://validator.w3.org/check/referer" target="_top"><img
        id="xhtml" border="0"
        src="<?=$WikiTheme->_findData('buttons/valid-xhtml10.png')?>"
        alt="Valid XHTML 1.0!" height="31" width="88" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_top"><img
        id="css" border="0"
        src="<?=$WikiTheme->_findData('buttons/vcss.png')?>"
        alt="Valid CSS!" height="31" width="88" /></a>
</div>
</td><td>
<span class="debug"><?=fmt("Page Execution took %s seconds", $RUNTIMER->getStats())?>
<? $mem = @getMemoryUsage(); if ($mem) { ?>
  <?= fmt(", Memory: %s", $mem) ?>
<? } ?>
</span>
</td></tr></table>
<?php // This keeps the valid XHTML! icons from "hanging off the bottom of the screen" ?>
<br clear="all" class="clear-floats" />