X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_beg.php;h=a01277b134e896728234a9f0d02fec3402886331;hb=2272afc569a7b308e6c34a2d28457495e6b2483b;hp=bc8872712f4679a0c22cc7e80d1d62709883d362;hpb=ddfb5391053512a0e55b19a403e50926bb38e226;p=mailer.git diff --git a/inc/modules/admin/what-config_beg.php b/inc/modules/admin/what-config_beg.php index bc8872712f..a01277b134 100644 --- a/inc/modules/admin/what-config_beg.php +++ b/inc/modules/admin/what-config_beg.php @@ -58,7 +58,7 @@ if (isFormSent()) { // Prepare constants for the template $content['timeout'] = createConfigurationTimeSelections('beg_timeout' , 'Dhm'); $content['userid_timeout'] = createConfigurationTimeSelections('beg_userid_timeout', 'Dhm'); - $content['ip_timeout'] = createConfigurationTimeSelections('beg_ip_timeout' , 'Dhm'); + $content['beg_ip_timeout'] = createConfigurationTimeSelections('beg_ip_timeout' , 'Dhm'); $content['wait_selection'] = createConfigurationTimeSelections('beg_notify_wait' , 'ms' ); // Init all Y/N selections @@ -77,15 +77,15 @@ if (isFormSent()) { $content['pay_mode_' . strtolower(getBegPayMode())] = ' selected="selected"'; // Init beg_mode elements - foreach (array('direct', 'ref') as $entry) { - $content['beg_mode_' . $entry] = ''; + foreach (array('DIRECT', 'REF') as $entry) { + $content['beg_mode_' . strtolower($entry)] = ''; } // END - foreach // Set default mode $content['beg_mode_' . strtolower(getBegMode())] = ' checked="checked"'; // Member selection box - $content['form_selection'] = addMemberSelectionBox(getBegUserid(), false, true, true, 'beg_userid'); + $content['beg_userid'] = addMemberSelectionBox(getBegUserid(), false, true, true, 'beg_userid'); // Load form template loadTemplate('admin_config_beg', false, $content);