From 0bc8c1e3e0831aeccc165387639c60649b142828 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 17 Mar 2013 14:47:35 -0700 Subject: [PATCH] GUI fixes --- e107_admin/frontpage.php | 10 +++++----- e107_admin/includes/infopanel.php | 14 ++++++++------ 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/e107_admin/frontpage.php b/e107_admin/frontpage.php index 7c6b25175..6768a780a 100644 --- a/e107_admin/frontpage.php +++ b/e107_admin/frontpage.php @@ -391,11 +391,11 @@ class frontpage ".$title." ".$this->lookup_path($current_value['page'])." ".$this->lookup_path($current_value['force'])." - - - - - + + + + + "; } diff --git a/e107_admin/includes/infopanel.php b/e107_admin/includes/infopanel.php index bedbea993..6840ba3c4 100644 --- a/e107_admin/includes/infopanel.php +++ b/e107_admin/includes/infopanel.php @@ -309,10 +309,7 @@ EOF; function renderChart() { - // REQUIRES Log Plugin to be installed. - - - + // REQUIRES Log Plugin to be installed. if (e107::isInstalled('log')) { return $this->renderStats(); @@ -325,7 +322,7 @@ EOF; } else { - return "Log Statistics Plugin Not Installed"; + return "
Install Site Stats Plugin
"; // $text2 .= $ns->tablerender("Visitors This Week", "Log Statistics Plugin Not Installed","core-infopanel_stats",true); } @@ -678,7 +675,11 @@ EOF; return; } - + + if(!e107::isInstalled("log")) + { + return; + } $sql = e107::getDB(); @@ -817,6 +818,7 @@ EOF; function renderStats() { + return ' Your web-browser does not support the HTML 5 canvas element. ';