Display error fixed when active and online extensions are installed
authorRoland Häder <roland@mxchange.org>
Sat, 20 Sep 2008 20:13:27 +0000 (20:13 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 20 Sep 2008 20:13:27 +0000 (20:13 +0000)
inc/databases.php
inc/modules/guest/action-online.php

index c8d260c..fc761f6 100644 (file)
@@ -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);
index b8a82c3..07fbcec 100644 (file)
@@ -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' => "<A class=\"menu_blur\" href=\"".URL."/modules.php?module=index&amp;what=active\">".$_CONFIG['menu_blur_spacer'].GUEST_ACTIVE_LINK."</A>",
+               'what' => "active"
+       );
+
        // Add link to "we were active today" page
-       LOAD_TEMPLATE("guest_menu_bottom", false, "<A class=\"menu_blur\" href=\"".URL."/modules.php?module=index&amp;what=active\">".$_CONFIG['menu_blur_spacer'].GUEST_ACTIVE_LINK."</A>");
-}
+       LOAD_TEMPLATE("guest_menu_bottom", false, $content);
+} // END - if
 
 //
 ?>