From: <var...@us...> - 2009-10-06 17:12:29
|
Revision: 7193 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7193&view=rev Author: vargenau Date: 2009-10-06 17:12:20 +0000 (Tue, 06 Oct 2009) Log Message: ----------- Gforge-specific bottom.tmpl and debug.tmpl Added Paths: ----------- trunk/themes/gforge/templates/bottom.tmpl trunk/themes/gforge/templates/debug.tmpl Added: trunk/themes/gforge/templates/bottom.tmpl =================================================================== --- trunk/themes/gforge/templates/bottom.tmpl (rev 0) +++ trunk/themes/gforge/templates/bottom.tmpl 2009-10-06 17:12:20 UTC (rev 7193) @@ -0,0 +1,10 @@ +<?php // -*-php-*- +rcs_id('$Id$'); +?> +<?php if (!$WikiTheme->DUMP_MODE) { ?> +<?php if (defined('DEBUG') and DEBUG) { ?> +<?= empty($WARNINGS) ? '' : $WARNINGS ?> +<?= $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> +<?= Template('debug') ?> +<?php } ?> +<?php } ?> Property changes on: trunk/themes/gforge/templates/bottom.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/debug.tmpl =================================================================== --- trunk/themes/gforge/templates/debug.tmpl (rev 0) +++ trunk/themes/gforge/templates/debug.tmpl 2009-10-06 17:12:20 UTC (rev 7193) @@ -0,0 +1,13 @@ +<?php // -*-php-*- +rcs_id('$Id$'); +?> +<?php global $RUNTIMER; ?> +<table width="100%" border="0" cellpadding="0" cellspacing="0"> +<tr><td> +<span class="debug"><?= fmt("Page Execution took %s seconds", $RUNTIMER->getStats()) ?> +<?php $mem = @getMemoryUsage(); if ($mem) { ?> + <?= fmt(", Memory: %s", $mem) ?> +<?php } ?> +</span> +</td></tr></table> +<br clear="all" class="clear-floats" /> Property changes on: trunk/themes/gforge/templates/debug.tmpl ___________________________________________________________________ Added: svn:keywords + Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |