X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-task.php;h=f4267c41b08335d2907710e3558a9b902a2e7e28;hb=8ce32e702f3caa76b8d446902948e83e1e6854c8;hp=dfa92bb6fe0e8d457fc157ca7f0a1bf3b25b1927;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/inc/modules/admin/action-task.php b/inc/modules/admin/action-task.php index dfa92bb6fe..f4267c41b0 100644 --- a/inc/modules/admin/action-task.php +++ b/inc/modules/admin/action-task.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -41,20 +41,15 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); - -if (!isExtensionActive('task')) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('task')); - return; -} // END - if +addYouAreHereLink('admin', __FILE__); // Load the include file $inc = sprintf("inc/modules/admin/what-%s.php", getWhat()); if (isIncludeReadable($inc)) { // Ok, we finally load the admin action module - loadInclude($inc); + loadIncludeOnce($inc); } else { - addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}', getWhat()); + addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}'); } // [EOF]