X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Factive_functions.php;h=0dda48146d0339972371f2f5a60620b905274e10;hb=62d8f6d89c35bebe15b8f716a5629f14d95f3078;hp=874bb68ef620835f42136c6e70de28ea3fb967cf;hpb=06d179ae45f3f049003e6fe213249842b2a630fe;p=mailer.git diff --git a/inc/libs/active_functions.php b/inc/libs/active_functions.php index 874bb68ef6..0dda48146d 100644 --- a/inc/libs/active_functions.php +++ b/inc/libs/active_functions.php @@ -14,10 +14,9 @@ * $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, 2010 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' => '{%config=menu_blur_spacer%}' . getMessage('GUEST_ACTIVE_LINK') . '', - 'what' => 'active' + 'menu' => '{?menu_blur_spacer?}{--GUEST_ACTIVE_LINK--}', + 'what' => 'active', + 'visible' => 'Y', + 'locked' => 'N' ); // Add link to "we were active today" page