X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-task.php;h=2c37b8e28af16e3739e578c8c5d8fe36d4f8dd3b;hb=4f7df133f736da124e6f7bd02008b9093f736451;hp=63411e1bc3aee6e8450d0d68df616ff601832eb0;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/inc/modules/admin/action-task.php b/inc/modules/admin/action-task.php index 63411e1bc3..2c37b8e28a 100644 --- a/inc/modules/admin/action-task.php +++ b/inc/modules/admin/action-task.php @@ -14,11 +14,10 @@ * $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 * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 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 * @@ -42,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__, getMessage('ADMIN_WHAT_404'), getWhat()); + addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}'); } // [EOF]