fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / admin / what-config_beg.php
index 55636bc02e56a8e83099f1cfed96d9ac91592114..8fc4128de9422f1ee8cccec0b11f619a3d8e8b44 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
  * Mailer v0.2.1-FINAL                                Start: 01/09/2005 *
- * ================                             Last change: 01/09/2005 *
+ * ===================                          Last change: 01/09/2005 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-config_beg.php                              *
@@ -46,17 +46,17 @@ addMenuDescription('admin', __FILE__);
 
 if (isFormSent()) {
        // Translate german decimal commas to computer decimal dots
-       setRequestPostElement('beg_points'      , convertCommaToDot(postRequestElement('beg_points')      ));
-       setRequestPostElement('beg_points_max'  , convertCommaToDot(postRequestElement('beg_points_max')  ));
-       setRequestPostElement('beg_notify_bonus', convertCommaToDot(postRequestElement('beg_notify_bonus')));
+       setPostRequestParameter('beg_points'      , convertCommaToDot(postRequestParameter('beg_points')      ));
+       setPostRequestParameter('beg_points_max'  , convertCommaToDot(postRequestParameter('beg_points_max')  ));
+       setPostRequestParameter('beg_notify_bonus', convertCommaToDot(postRequestParameter('beg_notify_bonus')));
 
        // Save settings
        adminSaveSettingsFromPostData();
 
        // Remember new settings
-       setConfigEntry('beg_rallye'       , postRequestElement('beg_rallye'));
-       setConfigEntry('beg_ral_en_notify', postRequestElement('beg_ral_en_notify'));
-       setConfigEntry('beg_ral_di_notify', postRequestElement('beg_ral_di_notify'));
+       setConfigEntry('beg_rallye'       , postRequestParameter('beg_rallye'));
+       setConfigEntry('beg_ral_en_notify', postRequestParameter('beg_ral_en_notify'));
+       setConfigEntry('beg_ral_di_notify', postRequestParameter('beg_ral_di_notify'));
 } else {
        // Prepare constants for the template
        $content['points']           = translateComma(getConfig('beg_points')      , false);