commit c71bef7c506090097880d9d634066dd243d9f1d6 parent 54d616a74a4047b6f8d33d99138a01c3557b04ab Author: dankert <devnull@localhost> Date: Sun, 26 Dec 2004 22:56:44 +0100 Request-Dauer ausgeben Diffstat:
themes/default/pages/html/footer.tpl.php | | | 14 | +++++++++++--- |
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/themes/default/pages/html/footer.tpl.php b/themes/default/pages/html/footer.tpl.php @@ -1,4 +1,12 @@ - -<!-- $Id$ --> -</body> + +<!-- $Id$ --> + +<?php if ($showDuration) { ?> +<br/> +<small> +<?php $dur = time()-START_TIME; + echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small> +<?php } ?> + +</body> </html> \ No newline at end of file