]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_networks.php
Tester script added which you can send to the auto-regger webmaster
[mailer.git] / inc / modules / admin / what-list_networks.php
index 6b33104265ddb709b11e39e1b305e114016d6138..29972258b4cefe66b382c7eb70f45c536e642354 100644 (file)
@@ -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) {
@@ -71,7 +68,7 @@ $result = SQL_QUERY('SELECT
 FROM
        `{?_MYSQL_PREFIX?}_network_data`
 ORDER BY
-       `network_title` ASC', __FILE__, __LINE__);
+       `network_short_name` ASC', __FILE__, __LINE__);
 
 // Do we have entries?
 if (SQL_NUMROWS($result) > 0) {