-// Filter for adding link to "active list"
-function FILTER_ADD_LINK_ACTIVE_LIST () {
- // Are the extensions online and active there?
- if ((EXT_IS_ACTIVE("active")) && (EXT_IS_ACTIVE("online"))) {
- // Init content
- $content = array(
- 'menu' => "<A class=\"menu_blur\" href=\"".URL."/modules.php?module=index&what=active\">".getConfig('menu_blur_spacer').GUEST_ACTIVE_LINK."</A>",
- 'what' => "active"
- );
-
- // Add link to "we were active today" page
- LOAD_TEMPLATE("guest_menu_bottom", false, $content);
+// Wrapper function for 'active_limit'
+function getActiveLimit () {
+ // Is there cache?
+ if (!isset($GLOBALS[__FUNCTION__])) {
+ // Get config entry
+ $GLOBALS[__FUNCTION__] = getConfig('active_limit');