]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/debug.tmpl
add getMemoryUsage to stdlib
[SourceForge/phpwiki.git] / themes / default / templates / debug.tmpl
1 <?php // -*-html-*-
2   rcs_id('$Id: debug.tmpl,v 1.15 2005-01-25 07:10:52 rurban Exp $');
3 ?>
4 <?php global $RUNTIMER; ?>
5 <table width="%100" border="0" cellpadding="0" cellspacing="0">
6 <tr><td>
7 <?php /* Note: The Portland theme's debug.tmpl overrides this file with it's own non-graphical variant. */ ?>
8 <div id="xhtml-validator"><a href="http://validator.w3.org/check/referer" target="_top"><img
9         id="xhtml" border="0"
10         src="<?=$WikiTheme->_findData('buttons/vxhtml10.gif')?>"
11         alt="Valid XHTML 1.0!" height="31" width="88" /></a>
12 <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_top"><img
13         id="css" border="0"
14         src="<?=$WikiTheme->_findData('buttons/vcss.gif')?>"
15         alt="Valid CSS!" height="31" width="88" /></a>
16 </div>
17 </td><td>
18 <span class="debug"><?=fmt("Page Execution took %s seconds", $RUNTIMER->getStats())?>
19 <?= fmt(", Memory: %s", getMemoryUsage()) ?>
20 </span>
21 </td></tr></table>
22 <?php // This keeps the valid XHTML! icons from "hanging off the bottom of the screen" ?>
23 <br clear="all" class="clear-floats" />