]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/active_functions.php
Some language strings fixed, renamed. Copyright notice updated
[mailer.git] / inc / libs / active_functions.php
index bdc32fa76dbb1910768bb3632e358df2b052c6d9..30e4c74da63fe521a69fc60e42a5dc00ed2d1659 100644 (file)
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -43,12 +42,14 @@ if (!defined('__SECURITY')) {
 
 // Filter for adding link to "active list"
 function FILTER_ADD_LINK_ACTIVE_LIST () {
-       // Are the extensions online and active there?
-       if (isExtensionActive('online')) {
-               // Init content
+       // Is ext-active/online there?
+       if ((isExtensionActive('active')) && (isExtensionActive('online'))) {
+               // Init fake-content because there is no `what`='active' in database
                $content = array(
-                       'menu' => "<a class=\"menu_blur\" href=\"{%url=modules.php?module=index&amp;what=active%}\">".getConfig('menu_blur_spacer').getMessage('GUEST_ACTIVE_LINK')."</a>",
-                       'what' => 'active'
+                       'menu'    => '<a class="menu_blur" href="{%url=modules.php?module=index&amp;what=active%}">{?menu_blur_spacer?}{--GUEST_ACTIVE_LINK--}</a>',
+                       'what'    => 'active',
+                       'visible' => 'Y',
+                       'locked'  => 'N'
                );
 
                // Add link to "we were active today" page