From 690c48be1c6447146d98235a5dba39596ada7c6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 20 Sep 2008 20:13:27 +0000 Subject: [PATCH] =?utf8?q?Display=20error=20fixed=20when=20active=C2=A0and?= =?utf8?q?=20online=20extensions=20are=20installed?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- inc/databases.php | 2 +- inc/modules/guest/action-online.php | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index c8d260cb4a..fc761f6aa6 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "370"); +define('CURR_SVN_REVISION', "371"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/modules/guest/action-online.php b/inc/modules/guest/action-online.php index b8a82c3573..07fbcec63b 100644 --- a/inc/modules/guest/action-online.php +++ b/inc/modules/guest/action-online.php @@ -62,9 +62,15 @@ define('ADMINS_ONLINE_CNT' , SQL_NUMROWS($result_admins)); LOAD_TEMPLATE("online_now"); if (EXT_IS_ACTIVE("active")) { + // Init content + $content = array( + 'menu' => "".$_CONFIG['menu_blur_spacer'].GUEST_ACTIVE_LINK."", + 'what' => "active" + ); + // Add link to "we were active today" page - LOAD_TEMPLATE("guest_menu_bottom", false, "".$_CONFIG['menu_blur_spacer'].GUEST_ACTIVE_LINK.""); -} + LOAD_TEMPLATE("guest_menu_bottom", false, $content); +} // END - if // ?> -- 2.39.5