]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_networks.php
Adding of network advert types partly finished, hard-coded table type fixed to dynamic
[mailer.git] / inc / modules / admin / what-list_networks.php
index 6b33104265ddb709b11e39e1b305e114016d6138..83f30c853c79dcb3a33b5b44ee36ba8d343eef21 100644 (file)
@@ -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) {