Revision: 20996
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20996
Author:   sigurdne
Date:     2010-01-30 16:32:04 +0000 (Sat, 30 Jan 2010)
Log Message:
-----------
Improvement: hide timer for others than admin 4565:4680

Modified Paths:
--------------
    people/sigurdne/modules/phpgwapi/trunk/inc/footer.inc.php

Modified: people/sigurdne/modules/phpgwapi/trunk/inc/footer.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/footer.inc.php   2010-01-30 
16:24:18 UTC (rev 20995)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/footer.inc.php   2010-01-30 
16:32:04 UTC (rev 20996)
@@ -33,7 +33,7 @@
                require_once PHPGW_APP_INC . '/footer.inc.php';
        }
 
-       if (DEBUG_TIMER)
+       if (isset($GLOBALS['phpgw_info']['user']['apps']['admin']) && 
DEBUG_TIMER)
        {
                $debug_timer_stop = perfgetmicrotime();
                echo '<p class="api_timer">' . lang('page prepared in %1 
seconds.', $debug_timer_stop - $GLOBALS['debug_timer_start'] ) . "<p>\n";



_______________________________________________
phpGroupWare-cvs mailing list
phpGroupWare-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs

Reply via email to