]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-unlock_surfbar_urls.php
Fixes loading of network type config
[mailer.git] / inc / modules / admin / what-unlock_surfbar_urls.php
index 6e94af3dc854498b7cb9acd19de496d57702d43b..bd6542d0b46c2ab7ba53c1a33924feae8ad05617 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
@@ -44,18 +44,18 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Is the form sent?
-if ((isPostRequestParameterSet('unlock')) && (is_array(postRequestParameter('url_id'))) && (count(postRequestParameter('url_id')) > 0)) {
+if ((isPostRequestElementSet('unlock')) && (is_array(postRequestElement('url_id'))) && (count(postRequestElement('url_id')) > 0)) {
        // Unlock selected URLs
-       if (SURFBAR_ADMIN_UNLOCK_URL_IDS(postRequestParameter('url_id'))) {
+       if (SURFBAR_ADMIN_UNLOCK_URL_IDS(postRequestElement('url_id'))) {
                // Unlock done! :-)
                displayMessage('{--ADMIN_SURFBAR_UNLOCK_DONE--}');
        } else {
                // Unlock failed!
                displayMessage('{--ADMIN_SURFBAR_UNLOCK_FAILED--}');
        }
-} elseif ((isPostRequestParameterSet('reject')) && (is_array(postRequestParameter('url_id'))) && (count(postRequestParameter('url_id')) > 0)) {
+} elseif ((isPostRequestElementSet('reject')) && (is_array(postRequestElement('url_id'))) && (count(postRequestElement('url_id')) > 0)) {
        // Reject selected URLs
-       if (SURFBAR_ADMIN_REJECT_URL_IDS(postRequestParameter('url_id'))) {
+       if (SURFBAR_ADMIN_REJECT_URL_IDS(postRequestElement('url_id'))) {
                // Unlock done! :-)
                displayMessage('{--ADMIN_SURFBAR_UNLOCK_DONE--}');
        } else {