* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
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);
foreach (array('rallye','activate','mode','ral_en_notify','ral_di_notify','new_mem_notify','include_own') as $entry) {
$content[$entry . '_y'] = '';
$content[$entry . '_n'] = '';
- $content[$entry . '_' . strtolower(getConfig('rallye_' . $entry))] = ' checked="checked"';
+ $content[$entry . '_' . strtolower(getConfig('beg_' . $entry))] = ' checked="checked"';
} // END - foreach
// Init elements