]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-add_sponsor.php
More XHTML-fied and extended header added to templates
[mailer.git] / inc / modules / admin / what-add_sponsor.php
index 1f736068ee145ec0c44142d1f91e4af3bad44deb..78d94006842966af1246a1ad3451635abe3bc498 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Neuen Sponsor hinzufuegen                        *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009)             $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * 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,12 +45,12 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR("admin", __FILE__);
 
-if (isset($_POST['ok'])) {
+if (IS_FORM_SENT()) {
        // Save sponsor in database
-       SPONSOR_HANDLE_SPONSOR($_POST);
+       SPONSOR_HANDLE_SPONSOR(REQUEST_POST_ARRAY());
 } else {
        // Prepare constants for the template
-       define('__SPONSOR_MIN_VALUE', $_CONFIG['sponsor_min_points']);
+       define('__SPONSOR_MIN_VALUE', getConfig('sponsor_min_points'));
 
        // Output form
        LOAD_TEMPLATE("admin_add_sponsor");