X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_other.php;h=80cba1720e43e94d0c34b1e77b61e7fb9e5183d5;hb=61621983cc6d7195fcc7eab29b5f6080ff283b34;hp=7345a4eb6fa846d07abb65c242b0b37458c4c61d;hpb=ca256746fe0757a23df4064824c8fe2087ad5634;p=mailer.git diff --git a/inc/modules/admin/what-config_other.php b/inc/modules/admin/what-config_other.php index 7345a4eb6f..80cba1720e 100644 --- a/inc/modules/admin/what-config_other.php +++ b/inc/modules/admin/what-config_other.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -48,18 +48,12 @@ if (isFormSent('save_config')) { // Calculate stamps and set calculated stamps setPostRequestElement('online_timeout' , createEpocheTimeFromSelections('online_timeout' , postRequestArray())); setPostRequestElement('url_tlock' , createEpocheTimeFromSelections('url_tlock' , postRequestArray())); - setPostRequestElement('profile_lock' , createEpocheTimeFromSelections('profile_lock' , postRequestArray())); - setPostRequestElement('profile_update' , createEpocheTimeFromSelections('profile_update' , postRequestArray())); - setPostRequestElement('resend_profile_update', createEpocheTimeFromSelections('resend_profile_update', postRequestArray())); // Online-Timeout shall be > 0 or your database will crow and crow and crow... if (!isPostRequestElementSet('online_timeout')) { unsetPostRequestElement('ok'); } // Chedck other timestamps (which can be zero!) - if (!isPostRequestElementSet('profile_lock')) { unsetPostRequestElement('ok'); } if (!isPostRequestElementSet('url_tlock')) { unsetPostRequestElement('ok'); } - if (!isPostRequestElementSet('profile_update')) { unsetPostRequestElement('ok'); } - if (!isPostRequestElementSet('resend_profile_update')) { unsetPostRequestElement('ok'); } // Check other settings if (!isPostRequestElementSet('max_send')) { unsetPostRequestElement('ok'); } @@ -74,9 +68,6 @@ if (isFormSent('save_config')) { // Time selection boxes $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 foreach (array('css_php_direct','css_php_file','css_php_inline','mailid_error_redirect_index','mailid_error_redirect_reject') as $entry) { @@ -84,14 +75,14 @@ if (isFormSent('save_config')) { } // END - foreach for ($i = '0'; $i <= 5; $i++) { - $content['comma_def_' . $i] = ''; + $content['max_comma_' . $i] = ''; } // END - for // Set selections - $content = merge_array($content, getCheckedConfig(array('css_php','mailid_error_redirect'))); + $content = merge_array($content, getCheckedConfig(array('css_php', 'mailid_error_redirect'))); // Set selection - $content = merge_array($content, getSelectedConfig(array('comma_def_' . getConfig('max_comma')))); + $content = merge_array($content, getSelectedConfig(array('max_comma'))); // Load template loadTemplate('admin_config_other', FALSE, $content);