]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-logout.php
More fixes for ext-surfbar:
[mailer.git] / inc / modules / admin / action-logout.php
index 8a05dad61967ab80224cdd8c9bf1e9ef5a2a0a5f..17e3e35a66a94f065ef705da6adba96a17fcee37 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 01/13/2006 *
- * ===============                              Last change: 01/13/2006 *
+ * Mailer v0.2.1-FINAL                                Start: 01/13/2006 *
+ * ===================                          Last change: 01/13/2006 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : action-logout.php                                *
  * $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&amp;logout=1');
 }