X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_networks.php;h=35cb4f9b0746392f4d928ce5f1804b0db061a11e;hb=91c5ab6d4bba6959611a9b9661c032cc4c9da6e8;hp=6b33104265ddb709b11e39e1b305e114016d6138;hpb=043db24f5b4744a22b5c54f67e09be998b10b4bd;p=mailer.git diff --git a/inc/modules/admin/what-list_networks.php b/inc/modules/admin/what-list_networks.php index 6b33104265..35cb4f9b07 100644 --- a/inc/modules/admin/what-list_networks.php +++ b/inc/modules/admin/what-list_networks.php @@ -44,20 +44,17 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { // Add description as navigation point addMenuDescription('admin', __FILE__); +// These are expert settings! +if (doVerifyExpertSettings() != 'agreed') { + // Abort here + return; +} // END - if + // By default we should display list/add new forms $GLOBALS['network_display'] = true; -// Was the form sent? -if ((isFormSent()) || (isPostRequestElementSet('edit')) || (isPostRequestElementSet('del')) || (isPostRequestElementSet('change')) || (isPostRequestElementSet('remove'))) { - // Do we have a 'do'? - if (isGetRequestElementSet('do')) { - // Process the request - doAdminNetworkProcessForm(); - } else { - // No 'do' found - loadTemplate('admin_settings_saved', false, getMessage('ADMIN_NETWORK_DO_404')); - } -} // END - if +// Handle form here +doNetworkHandleForm(); // Display forms? if ($GLOBALS['network_display'] === false) {