]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_sponsor.php
Renamed function so it might be more understandable
[mailer.git] / inc / modules / admin / what-config_sponsor.php
index af8cc38325eece73841bf3518a827ef5f39996a8..4468c68760fd40bc768290289f29762787718434 100644 (file)
@@ -14,8 +14,6 @@
  * $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                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
 // 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)
-       setPostRequestParameter('sponsor_min_points', bigintval(postRequestParameter('sponsor_min_points')));
-       setPostRequestParameter('sponsor_ref_points', bigintval(postRequestParameter('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]
 ?>