]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_network_types.php
Project continued:
[mailer.git] / inc / modules / admin / what-config_network_types.php
index fd4efcfe2ca03f6fbd71774c24e51243ad623eb5..671e5599a91222c30bbea532d0fb331173c4316b 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -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')) {
        // Set current network id
        setCurrentNetworkId(getRequestElement('network_id'));
@@ -90,7 +90,7 @@ LIMIT 1',
                                bigintval(getRequestElement('network_type_id'))
                        ), __FUNCTION__, __LINE__);
 
-               // Do we have a record?
+               // Is there a record?
                if (SQL_NUMROWS($result) == 1) {
                        // Load it
                        $content = SQL_FETCHARRAY($result);
@@ -140,7 +140,7 @@ LIMIT 1',
                        $content['network_max_reload_time']  = createTimeSelections($content['network_max_reload_time'], 'network_max_reload_time', 'WDhms');
 
                        // Load template
-                       loadTemplate($templateName, false, $content);
+                       loadTemplate($templateName, FALSE, $content);
 
                        // Abort here
                        return;
@@ -169,7 +169,7 @@ ORDER BY
                        bigintval(getRequestElement('network_id'))
                ), __FUNCTION__, __LINE__);
 
-       // Do we have entries left?
+       // Are there entries left?
        if (!SQL_HASZERONUMS($result)) {
                // Init row output
                $OUT = '';
@@ -195,23 +195,23 @@ LIMIT 1',
                                        bigintval($content['network_type_id'])
                                ), __FUNCTION__, __LINE__);
 
-                       // Do we have an entry?
+                       // Is there an entry?
                        if (SQL_NUMROWS($result_config) == 1) {
                                // Load this data as well
                                $content = merge_array($content, SQL_FETCHARRAY($result_config));
 
                                // Add it with extra template
-                               $content['network_type_config_content'] = loadTemplate('admin_show_config_network_type', true, $content);
+                               $content['network_type_config_content'] = loadTemplate('admin_show_config_network_type', TRUE, $content);
                        } else {
                                // No configuration found, so display form
-                               $content['network_type_config_content'] = loadTemplate('admin_add_config_network_type', true, $content);
+                               $content['network_type_config_content'] = loadTemplate('admin_add_config_network_type', TRUE, $content);
                        }
 
                        // Free result
                        SQL_FREERESULT($result_config);
 
                        // Load row template
-                       $OUT .= loadTemplate('admin_config_network_types_row', true, $content);
+                       $OUT .= loadTemplate('admin_config_network_types_row', TRUE, $content);
                } // END - while
 
                // Prepare array for main template
@@ -221,7 +221,7 @@ LIMIT 1',
                );
 
                // Load main template
-               loadTemplate('admin_config_network_types', false, $content);
+               loadTemplate('admin_config_network_types', FALSE, $content);
        } else {
                // No entries found
                displayMessage('{%message,ADMIN_CONFIG_NETWORK_HANDLER_TYPES_404=' . bigintval(getRequestElement('network_id')) . '%}');