X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin.php;h=38764db5050e6a70ba7aca15ef03f912a281e2ea;hp=9208c9f1346a3c7b442db9c81dd8181a8caa9e71;hb=8a73ce89f88fb09523fce05eb2aff80665e65827;hpb=4001187f22197f55e5a1f211fc8defcc180f7c32 diff --git a/inc/modules/admin.php b/inc/modules/admin.php index 9208c9f134..38764db505 100644 --- a/inc/modules/admin.php +++ b/inc/modules/admin.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Administrationsmodul * * -------------------------------------------------------------------- * - * * + * $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 * @@ -68,7 +73,7 @@ if (!isAdminRegistered()) { $done = changeDataInFile(constant('PATH')."inc/config.php", "ADMIN-SETUP", "define('admin_registered', ", ");", "true", 0); if ($done === true) { // Registering is done - LOAD_URL("modules.php?module=admin&action=login®ister=done"); + LOAD_URL("modules.php?module=admin&register=done"); } else { $ret = getMessage('ADMIN_CANNOT_COMPLETE'); } @@ -96,7 +101,7 @@ if (!isAdminRegistered()) { changeDataInFile(constant('PATH')."inc/config.php", "ADMIN-SETUP", "define('admin_registered', ", ");", "true", 0); // Load URL for login - LOAD_URL("modules.php?module=admin&action=login"); + LOAD_URL("modules.php?module=admin"); } // END - if break; } @@ -189,7 +194,7 @@ if (!isAdminRegistered()) { // At leat one administrator account was created if ((isSessionVariableSet('admin_login')) && (isSessionVariableSet('admin_md5')) && (isSessionVariableSet('admin_last')) && (isSessionVariableSet('admin_to'))) { // Timeout for last login, we have to logout first! - LOAD_URL("modules.php?module=admin&action=login&logout=1"); + LOAD_URL("modules.php?module=admin&logout=1"); } // END - if if (REQUEST_ISSET_GET(('register'))) { @@ -221,7 +226,7 @@ if (!isAdminRegistered()) { // Add data to URL if (!empty($GLOBALS['what'])) $URL .= "what=".$GLOBALS['what']; elseif (!empty($GLOBALS['action'])) $URL .= "action=".$GLOBALS['action']; - elseif (REQUEST_ISSET_GET(('area'))) $URL .= "area=".REQUEST_GET('area'); + elseif (REQUEST_ISSET_GET('area')) $URL .= "area=".REQUEST_GET('area'); // Load URL LOAD_URL($URL); @@ -296,7 +301,7 @@ if (!isAdminRegistered()) { // Set default values $content = array('target' => "action", 'value' => "login"); } - } elseif (REQUEST_ISSET_GET(('area'))) { + } elseif (REQUEST_ISSET_GET('area')) { // Restore old area value $content = array('target' => "area", 'value' => REQUEST_GET('area')); } else { @@ -352,7 +357,7 @@ if (!isAdminRegistered()) { $area = "entrance"; // Check for similar URL variable - if (REQUEST_ISSET_GET(('area'))) $area = REQUEST_GET(('area')); + if (REQUEST_ISSET_GET('area')) $area = REQUEST_GET('area'); // Load "logical-area menu-system" file LOAD_INC_ONCE("inc/modules/admin/lasys-inc.php"); @@ -361,7 +366,7 @@ if (!isAdminRegistered()) { ADMIN_LOGICAL_AREA_SYSTEM($area, $act, $GLOBALS['what']); } else { // This little call constructs the whole default old and lacky menu system - // on left side + // on left side. It also renders the content on right side ADMIN_DO_ACTION($GLOBALS['what']); } break;