* -------------------------------------------------------------------- *
* Kurzbeschreibung : Refback-Einstellungen *
* -------------------------------------------------------------------- *
- * *
+ * $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 *
// Add description as navigation point
ADD_DESCR("admin", __FILE__);
-if (isset($_POST['ok'])) {
+if (IS_FORM_SENT()) {
// Save configuration
- ADMIN_SAVE_SETTINGS($_POST);
+ ADMIN_SAVE_SETTINGS_POST();
} else {
// Prepare content
$content = array(
- 'refback_min_perc' => bigintval($_CONFIG['refback_min_perc']),
- 'refback_max_perc' => bigintval($_CONFIG['refback_max_perc'])
+ 'refback_min_perc' => getConfig(('refback_min_perc')),
+ 'refback_max_perc' => getConfig(('refback_max_perc'))
);
// Add more content
- switch ($_CONFIG['refback_enabled']) {
+ switch (getConfig('refback_enabled')) {
case "Y": // Refback enabled
$content['refback_enabled_y'] = " checked=\"checked\"";
$content['refback_enabled_n'] = "";