X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_beg.php;h=d164cc4d0a326adae7614a0629a623552f539d0c;hb=93c6cc5d2381fd2d7366f55bacfad85e4e42486a;hp=3ea6ae21ff0838c511f4e7835e52361f203bad2f;hpb=e2148142f8b1a8f40fd6e7ca32185569c5a9083e;p=mailer.git diff --git a/inc/modules/admin/what-config_beg.php b/inc/modules/admin/what-config_beg.php index 3ea6ae21ff..d164cc4d0a 100644 --- a/inc/modules/admin/what-config_beg.php +++ b/inc/modules/admin/what-config_beg.php @@ -18,6 +18,7 @@ * 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 * @@ -46,17 +47,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); @@ -71,7 +72,7 @@ if (isFormSent()) { 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