From 163b318e49a38333bb2fc7e256e658c81f25e2e2 Mon Sep 17 00:00:00 2001
From: "Philip M. Hofer (Frumph)"
Date: Thu, 7 Jan 2010 02:29:32 -0800
Subject: [PATCH] added an option for enabling the display of the query count
and page load info in the footer
Signed-off-by: Philip M. Hofer (Frumph)
---
comicpress-options.php | 3 ++-
footer.php | 4 +++-
functions.php | 3 ++-
options/generaloptions.php | 9 +++++++++
4 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/comicpress-options.php b/comicpress-options.php
index 22055cf..39d857f 100644
--- a/comicpress-options.php
+++ b/comicpress-options.php
@@ -59,7 +59,8 @@ function comicpress_admin() {
'disable_blogheader',
'enable_comicpress_debug',
'enable_full_post_check',
- 'enable_scroll_to_top'
+ 'enable_scroll_to_top',
+ 'enable_page_load_info'
) as $key) {
$comicpress_options[$key] = (bool)( $_REQUEST[$key] == 1 ? true : false );
}
diff --git a/footer.php b/footer.php
index d277b59..1a13184 100644
--- a/footer.php
+++ b/footer.php
@@ -35,7 +35,9 @@
- queries. seconds.
+
+ queries. seconds.
+
diff --git a/functions.php b/functions.php
index bda8d7d..8cb8f6d 100644
--- a/functions.php
+++ b/functions.php
@@ -205,7 +205,8 @@ function comicpress_load_options() {
'enable_blogroll_off_links' => false,
'enable_comment_count_in_rss' => false,
- 'enable_scroll_to_top' => false
+ 'enable_scroll_to_top' => false,
+ 'enable_page_load_info' => false
) as $field => $value) {
$comicpress_options[$field] = $value;
diff --git a/options/generaloptions.php b/options/generaloptions.php
index df21475..a007840 100644
--- a/options/generaloptions.php
+++ b/options/generaloptions.php
@@ -212,6 +212,15 @@
+
+ |
+
+ />
+ |
+
+
+ |
+