]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_sponsor.php
'what' files should be loaded only once
[mailer.git] / inc / modules / admin / what-config_sponsor.php
index f4ef394d0b20a64599f5127b6d0412c0d03945f6..61f8e265a9e8762078c96b81c1dc1c0f21f42a55 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * M-XChange v0.2.1                                   Start: 12/21/2004 *
- * ================                             Last change: 12/21/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 12/21/2004 *
+ * ===================                          Last change: 12/21/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-config_title.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                           *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * 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 *
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!isAdmin())) {
        die();
-}
+} // END - if
 
 // Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
 
 if (isFormSent()) {
-       // Allow only direct points (non-floating)
-       setRequestPostElement('sponsor_min_points', bigintval(postRequestElement('sponsor_min_points')));
-       setRequestPostElement('sponsor_ref_points', bigintval(postRequestElement('sponsor_ref_points')));
-
        // Save settings
        adminSaveSettingsFromPostData();
 } else {
-       // Remember config data in constants for the template
-       $content['min_points'] = getConfig('sponsor_min_points');
-       $content['ref_points'] = getConfig('sponsor_ref_points');
-
        // Load template
-       loadTemplate('admin_config_sponsor', false, $content);
+       loadTemplate('admin_config_sponsor');
 }
 
-//
+// [EOF]
 ?>