]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_network_api.php
Also this old column name is back ...
[mailer.git] / inc / modules / admin / what-config_network_api.php
index 341d1e4b14b2d534b84431635d37cd80dee22c93..9f213a2a271de12ef7697e9aae87a0fefacb1d08 100644 (file)
@@ -44,18 +44,18 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // By default we should display list/add new forms
-$GLOBALS['network_display'] = true;
+$GLOBALS['network_display'] = TRUE;
 
 // Handle form here
 doNetworkHandleForm();
 
 // Display forms?
-if ($GLOBALS['network_display'] === false) {
+if ($GLOBALS['network_display'] === FALSE) {
        // Abort here
        return;
 } // END - if
 
-// Do we have a network selected?
+// Is there a network selected?
 if (isGetRequestElementSet('network_id')) {
        // Check all networks that doesn't have a configuration entry
        $result = SQL_QUERY_ESC("SELECT
@@ -80,7 +80,7 @@ LIMIT 1",
                        bigintval(getRequestElement('network_id'))
                ), __FILE__, __LINE__);
 
-       // Do we have an entry?
+       // Is there an entry?
        if (SQL_NUMROWS($result) == 1) {
                // Load data
                $content = SQL_FETCHARRAY($result);
@@ -109,7 +109,7 @@ LIMIT 1',
                                bigintval(getRequestElement('network_id'))
                        ), __FUNCTION__, __LINE__);
 
-               // Do we have an entry?
+               // Is there an entry?
                if (SQL_NUMROWS($result_config) == 1) {
                        // Load entries
                        $content = merge_array($content, SQL_FETCHARRAY($result_config));
@@ -119,7 +119,7 @@ LIMIT 1',
                SQL_FREERESULT($result_config);
 
                // Load main template
-               loadTemplate('admin_config_network_api', false, $content);
+               loadTemplate('admin_config_network_api', FALSE, $content);
        } else {
                // Please setup some networks first
                displayMessage('{--ADMIN_NETWORK_DATA_MISSING--}');