if (!isExtensionActive('other')) {
// Missing extension!
- loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('other'));
+ displayMessage(generateExtensionInactiveNotInstalledMessage('other'));
return;
} // END - if
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'] = createTimeSelections(getOnlineTimeout() , 'ip_timeout' , 'ms');
+ $content['url_tlock'] = createTimeSelections(getUrlTlock() , 'url_tlock' , 'WDh');
+ $content['profile_lock'] = createTimeSelections(getProfileLock() , 'profile_lock' , 'WDh');
+ $content['profile_update'] = createTimeSelections(getProfileUpdate() , 'profile_update' , 'YM');
+ $content['profile_reupdate'] = createTimeSelections(getResendProfileUpdate(), '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','stats_enabled') as $entry) {