* -------------------------------------------------------------------- *
* 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 *
// 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");