X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_other.php;h=2715e1fb2c8eb9d701b0e81686a0dcf598bef390;hb=11c7c0215361456e0fe975901d43f3c834d7044b;hp=ba71df52eac724d1278a82ae7dd07b7a1df7af13;hpb=28658f05b4711aec4da763c659f340e543ce3573;p=mailer.git diff --git a/inc/modules/admin/what-config_other.php b/inc/modules/admin/what-config_other.php index ba71df52ea..2715e1fb2c 100644 --- a/inc/modules/admin/what-config_other.php +++ b/inc/modules/admin/what-config_other.php @@ -1,7 +1,7 @@ 0 or your database will crow and crow and crow... if (!isPostRequestElementSet('online_timeout')) { unsetPostRequestElement('ok'); } @@ -72,21 +65,21 @@ if (isFormSent()) { if (!isPostRequestElementSet('max_send')) { unsetPostRequestElement('ok'); } if (!isPostRequestElementSet('code_length')) { unsetPostRequestElement('ok'); } if (!isPostRequestElementSet('reject_url')) { unsetPostRequestElement('ok'); } -} +} // END - if if (isFormSent()) { // Update stamps directly adminSaveSettingsFromPostData(); } else { // Time selection boxes - $content['online_timeout'] = createTimeSelections(getConfig('online_timeout'), 'ip_timeout' , 'ms'); - $content['url_tlock'] = createTimeSelections(getConfig('url_tlock') , 'url_tlock' , 'WDh'); - $content['profile_lock'] = createTimeSelections(getConfig('profile_lock') , 'profile_lock' , 'WDh'); - $content['profile_update'] = createTimeSelections(getConfig('profile_update'), 'profile_update' , 'YM'); - $content['profile_reupdate'] = createTimeSelections(getConfig('resend_profile_update') , 'resend_profile_update', 'MWD'); + $content['online_timeout'] = createConfigurationTimeSelections('online_timeout' , 'ms'); + $content['url_tlock'] = createConfigurationTimeSelections('url_tlock' , 'WDh'); + $content['profile_lock'] = createConfigurationTimeSelections('profile_lock' , 'WDh'); + $content['profile_update'] = createConfigurationTimeSelections('profile_update' , 'YM'); + $content['profile_reupdate'] = createConfigurationTimeSelections('resend_profile_update', 'MWD'); // Prepare more Y/N selections - foreach(array('show_points_unconfirmed','show_timings','youre_here','member_menu','guest_menu','order_multi_page','autosend_active','send_prof_update','admin_notify','display_debug_sqls') as $entry) { + foreach (array('show_points_unconfirmed','show_timings','youre_here','member_menu','guest_menu','order_multi_page','autosend_active','send_prof_update','admin_notify','display_debug_sqls','stats_enabled') as $entry) { $content[$entry . '_y'] = ''; $content[$entry . '_n'] = ''; $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"';