]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_doubler.php
'what' files should be loaded only once
[mailer.git] / inc / modules / admin / what-list_doubler.php
index 39fbab603b0f2d39a851f610ff644a27e90864c0..b031b6ff0dcf049b32b0b304abd9d6fd7b3c19b1 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 *
@@ -43,21 +43,21 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
-if (!isGetRequestParameterSet('mode')) {
+if (!isGetRequestElementSet('mode')) {
        // Chosse the overview page as default
-       setGetRequestParameter('mode', 'overview');
+       setGetRequestElement('mode', 'overview');
 } else {
        // Set table title automatically
-       if (!isGetRequestParameterSet('select')) {
-               setGetRequestParameter('select', 'all');
+       if (!isGetRequestElementSet('select')) {
+               setGetRequestElement('select', 'all');
        } // END - if
 
        // Prepare header
-       $content['list_' . strtolower(getRequestParameter('mode'))] = strtoupper('{--ADMIN_DOUBLER_LIST_' . getRequestParameter('mode') . '_' . getRequestParameter('select') . '--}');
+       $content['list_' . strtolower(getRequestElement('mode'))] = strtoupper('{--ADMIN_DOUBLER_LIST_' . getRequestElement('mode') . '_' . getRequestElement('select') . '--}');
 }
 
 // Load data for the template
-switch (getRequestParameter('mode')) {
+switch (getRequestElement('mode')) {
        case 'already':  // Already payed out points
                break;
 
@@ -113,7 +113,7 @@ switch (getRequestParameter('mode')) {
 } // END - switch
 
 // Load mode template
-loadTemplate('admin_list_doubler_' . getRequestParameter('mode'), false, $content);
+loadTemplate('admin_list_doubler_' . getRequestElement('mode'), false, $content);
 
 // [EOF]
 ?>