X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_networks.php;h=83f30c853c79dcb3a33b5b44ee36ba8d343eef21;hp=6b33104265ddb709b11e39e1b305e114016d6138;hb=b8c071f12a601619c4c02b9441b3e0e012db6ced;hpb=0bc147b8bab4706803309eab2d8b05042462efe6 diff --git a/inc/modules/admin/what-list_networks.php b/inc/modules/admin/what-list_networks.php index 6b33104265..83f30c853c 100644 --- a/inc/modules/admin/what-list_networks.php +++ b/inc/modules/admin/what-list_networks.php @@ -47,17 +47,8 @@ addMenuDescription('admin', __FILE__); // 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) {