]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_doubler.php
Remaining debug lines commented out
[mailer.git] / inc / modules / admin / what-list_doubler.php
index 2ad42035d9d96e45cbb06d1b9c77f5addad1092d..48b336cdc603ed2608170e6a0958cb6d236999f0 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Verdoppler-Eintraege auflisten                   *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $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 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -40,18 +45,18 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR("admin", __FILE__);
 
-if (empty($_GET['mode'])) {
+if (!REQUEST_ISSET_GET(('mode'))) {
        // Chosse the overview page as default
-       $_GET['mode'] = "overview";
+       REQUEST_GET('mode', "overview");
 } else {
        // Set table title automatically
-       if (empty($_GET['select'])) $_GET['select'] = "all";
-       $eval = "define('__ADMIN_DOUBLER_LIST_".strtoupper($_GET['mode'])."', getMessage('ADMIN_DOUBLER_LIST_".strtoupper($_GET['mode'])."_".strtoupper($_GET['select'])."'));";
+       if (!REQUEST_ISSET_GET(('select'))) REQUEST_GET('select', "all");
+       $eval = "define('__ADMIN_DOUBLER_LIST_".strtoupper(REQUEST_GET('mode'))."', getMessage('ADMIN_DOUBLER_LIST_".strtoupper(REQUEST_GET('mode'))."_".strtoupper(REQUEST_GET('select'))."'));";
        eval($eval);
 }
 
 // Load data for the template
-switch ($_GET['mode'])
+switch (REQUEST_GET('mode'))
 {
 case "already":  // Already payed out points
        break;
@@ -129,7 +134,7 @@ case "overview": // General overview page
 }
 
 // Load mode template
-LOAD_TEMPLATE("admin_list_doubler_".$_GET['mode']);
+LOAD_TEMPLATE("admin_list_doubler_".REQUEST_GET('mode'));
 
 //
 ?>