X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-task.php;h=8897cf761970194fd9a8b15b4a03ec89f71519a7;hb=c2245ee6923f35880d1df7ef0d9b78fa26ae25e7;hp=a96951320715ca666699644b8805669b4997aaf6;hpb=45465772fed386cbfa0c1df9677cbd9134ac5819;p=mailer.git diff --git a/inc/modules/admin/action-task.php b/inc/modules/admin/action-task.php index a969513207..8897cf7619 100644 --- a/inc/modules/admin/action-task.php +++ b/inc/modules/admin/action-task.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Erweitertes Aufgaben-Management * * -------------------------------------------------------------------- * - * * + * $Revision:: $ * + * $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 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * @@ -33,21 +38,21 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!IS_ADMIN())) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); -} elseif (!EXT_IS_ACTIVE("task")) { - addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "task"); +} elseif (!EXT_IS_ACTIVE('task')) { + addFatalMessage(__FILE__, __LINE__, generateExtensionInactiveNotInstalledMessage('task')); return; } // Add description as navigation point -ADD_DESCR("admin", __FILE__); +ADD_DESCR('admin', __FILE__); // Load the include file $INC = sprintf("inc/modules/admin/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); -if (INCLUDE_READABLE($INC)) { +if (isIncludeReadable($INC)) { // Ok, we finally load the admin action module - LOAD_INC($INC); + loadInclude($INC); } else { addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), $GLOBALS['what']); }