]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-stats.php
Most <em> tags replaced/removed
[mailer.git] / inc / modules / guest / what-stats.php
index 944337f45c62cf365ddd32f15ede95d671ae1b60..33f1aaed5b971c2247ba68889647a196f62c57e0 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 *
@@ -50,14 +50,14 @@ if ((!isExtensionActive('user')) && (!isAdmin())) {
 } // END - if
 
 // Determine which stats we want and set mode and title for the link below stats block
-if (!isGetRequestParameterSet('mode')) {
-       setGetRequestParameter('mode', strtolower(getConfig('guest_stats')));
+if (!isGetRequestElementSet('mode')) {
+       setGetRequestElement('mode', strtolower(getConfig('guest_stats')));
 } // END - if
 
 // Set config temporarily
-setConfigEntry('guest_stats', strtoupper(getRequestParameter('mode')));
+setConfigEntry('guest_stats', strtoupper(getRequestElement('mode')));
 
-switch (getRequestParameter('mode')) {
+switch (getRequestElement('mode')) {
        case 'members' :
                $lmode = 'modules';
                break;
@@ -72,7 +72,7 @@ switch (getRequestParameter('mode')) {
 
        default:
                // Unsupported mode
-               debug_report_bug(__FILE__, __LINE__, sprintf("Unsupported mode <span class=\"data\">%s</span> detected.", secureString(getRequestParameter('mode'))));
+               debug_report_bug(__FILE__, __LINE__, sprintf("Unsupported mode <span class=\"data\">%s</span> detected.", secureString(getRequestElement('mode'))));
                break;
 }