X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_doubler.php;h=e52215da301d59177eb91812d7602822ef9bba6f;hb=3aa0651a2a5a89027a5929e50948639fac95a0d7;hp=421752c55d8ed4c969da7d95f8a7eb5c40855a78;hpb=6914ebaaae909093df86d010e4c754a43d1a1aed;p=mailer.git diff --git a/inc/modules/admin/what-config_doubler.php b/inc/modules/admin/what-config_doubler.php index 421752c55d..e52215da30 100644 --- a/inc/modules/admin/what-config_doubler.php +++ b/inc/modules/admin/what-config_doubler.php @@ -14,11 +14,9 @@ * $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 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -43,21 +41,17 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if (isFormSent()) { - // Replace commata with decimal dot - setPostRequestParameter('doubler_charge', convertCommaToDot(postRequestParameter('doubler_charge'))); - setPostRequestParameter('doubler_ref' , convertCommaToDot(postRequestParameter('doubler_ref'))); - setPostRequestParameter('doubler_min' , convertCommaToDot(postRequestParameter('doubler_min'))); - setPostRequestParameter('doubler_max' , convertCommaToDot(postRequestParameter('doubler_max'))); - setPostRequestParameter('doubler_left' , convertCommaToDot(postRequestParameter('doubler_left'))); + // Replace german decimal comma with computer decimal dot + convertCommaToDotInPostDataArray(array('doubler_charge', 'doubler_ref', 'doubler_min', 'doubler_max', 'doubler_left')); // Save settings adminSaveSettingsFromPostData(); } else { // Init all Y/N selections - foreach (array('jackpot','own','sent_all') as $entry) { + foreach (array('jackpot', 'own', 'sent_all') as $entry) { $content[$entry . '_y'] = ''; $content[$entry . '_n'] = ''; $content[$entry . '_' . strtolower(getConfig('doubler_' . $entry))] = ' checked="checked"'; @@ -74,7 +68,7 @@ if (isFormSent()) { } // END - foreach // Transfer options - $content['form_selection'] = addMemberSelectionBox(getConfig('doubler_userid'), false, true, true, 'doubler_userid'); + $content['doubler_userid'] = addMemberSelectionBox(getConfig('doubler_userid'), false, true, true, 'doubler_userid'); // Number of rows to display (option lines!!!) foreach (array('new','pay','old') as $entry) { @@ -102,7 +96,7 @@ if (isFormSent()) { } // END - foreach // Timeout selection box or input box? - $content['timeout_selection'] = createTimeSelections(getConfig('doubler_timeout') , 'doubler_timeout' , 'WDh'); + $content['timeout_selection'] = createConfigurationTimeSelections('doubler_timeout', 'WDh'); // Load template loadTemplate('admin_config_doubler', false, $content);