From 422a3ff80c49f50eb7841e3f30f4bd96b9d2d2ce Mon Sep 17 00:00:00 2001 From: deva <deva> Date: Tue, 23 Feb 2010 08:20:14 +0000 Subject: Add generation time to bottom of the page. --- htdocs/index.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'htdocs/index.php') diff --git a/htdocs/index.php b/htdocs/index.php index a41ee02..d68609a 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -1,4 +1,6 @@ <?php +$start_time = microtime(true); + include_once("config.php"); if($mode == "imagecache") { @@ -37,7 +39,7 @@ if($config->value('splash') == "true") { <link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml" /> <link rel="author" title="Bent Bisballe Nyeng" href="http://www.aasimon.org"/> <link href="/favicon.ico" rel="shortcut icon"/> - <link rel="stylesheet" type="text/css" href="style.css" media="screen"/> + <link rel="stylesheet" type="text/css" href="design/mors/style.css" media="screen"/> </head> <body> <div class="splash"> @@ -67,7 +69,7 @@ if($config->value('splash') == "true") { <link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml" /> <link rel="author" title="Bent Bisballe Nyeng" href="http://www.aasimon.org"/> <link href="/favicon.ico" rel="shortcut icon"/> - <link rel="stylesheet" type="text/css" href="style.css" media="screen"/> + <link rel="stylesheet" type="text/css" href="design/mors/style.css" media="screen"/> <link rel="stylesheet" type="text/css" href="handheld.css" media="handheld"/> <link rel="stylesheet" type="text/css" href="admin.css" media="screen"/> <script type="text/javascript"> @@ -137,6 +139,7 @@ $_p = $pages->getPage("footer"); if($_p) $_p->show(); ?> </div> + <div class="generationtime">This document was generated in <?php $stop_time = microtime(true); echo $stop_time - $start_time; ?> seconds</div> </div> <div> <a href="?page=admin" class="admin_link"></a> -- cgit v1.2.3