]> git.mxchange.org Git - mailer.git/commitdiff
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 c8d260cb4a69338ddd36a02a3b6a156cbea816db..fc761f6aa64124231ef7a322e2a3c09b117bbc7c 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 b8a82c357309015dcffaf32f4e606774e1aeedbc..07fbcec63bad705e2be00944b7b8359f4ed0ae81 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
 
 //
 ?>