X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-logout.php;h=17e3e35a66a94f065ef705da6adba96a17fcee37;hb=8d0ed5ed9a9ca0e07b9582f2311b44bdcc5a95ea;hp=c8fe63df47a4e9172139cdaab169ac12719d1d67;hpb=e5fe5afb17a5c8106f4c890234dfa39419e70f5d;p=mailer.git diff --git a/inc/modules/admin/action-logout.php b/inc/modules/admin/action-logout.php index c8fe63df47..17e3e35a66 100644 --- a/inc/modules/admin/action-logout.php +++ b/inc/modules/admin/action-logout.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 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -42,12 +41,12 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); -if (isPostRequestElementSet('no')) { +if (isPostRequestParameterSet('no')) { // Do not logout now redirectToUrl('admin.php'); -} elseif ((isPostRequestElementSet(('yes'))) && (getAction() == 'logout')) { +} elseif ((isPostRequestParameterSet('yes')) && (getAction() == 'logout')) { // Redirect to logout link redirectToUrl('modules.php?module=admin&logout=1'); }