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'); } 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'] = 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) { $content[$entry] = ''; } // END - foreach // Set selections foreach (array('css_php','mailid_error_redirect') as $entry) { $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"'; } // END - foreach for ($i = '0'; $i <= 5; $i++) { $content['comma_def_' . $i] = ''; } // END - for // Set selection $content['comma_def_' . getConfig('max_comma')] = ' selected="selected"'; // Load template loadTemplate('admin_config_other', false, $content); } // [EOF] ?>