X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_doubler.php;h=ae143e0142ad5476f05ec75d1e20fbe2d3d04c49;hb=3c50057c4da8c632d1923d7879a2b870d1eb7155;hp=f26d37e2129b571585cae0d2a4ceb8535a418249;hpb=b1b27c3371dbbbabb4bb326e7f787648d303fc53;p=mailer.git diff --git a/inc/modules/admin/what-config_doubler.php b/inc/modules/admin/what-config_doubler.php index f26d37e212..ae143e0142 100644 --- a/inc/modules/admin/what-config_doubler.php +++ b/inc/modules/admin/what-config_doubler.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -50,13 +50,6 @@ if (isFormSent()) { // Save settings adminSaveSettingsFromPostData(); } else { - // Init all Y/N selections - foreach (array('jackpot', 'own', 'sent_all') as $entry) { - $content[$entry . '_y'] = ''; - $content[$entry . '_n'] = ''; - $content[$entry . '_' . strtolower(getConfig('doubler_' . $entry))] = ' checked="checked"'; - } // END - foreach - // Init other selections foreach (array('send_mode_direct','send_mode_reset') as $entry) { $content[$entry] = ''; @@ -68,11 +61,11 @@ 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) { - $content['display_' . $entry] = generateOptionList( + $content['display_' . $entry] = generateOptions( '/ARRAY/', array( 5, @@ -99,7 +92,7 @@ if (isFormSent()) { $content['timeout_selection'] = createConfigurationTimeSelections('doubler_timeout', 'WDh'); // Load template - loadTemplate('admin_config_doubler', false, $content); + loadTemplate('admin_config_doubler', FALSE, $content); } // [EOF]