* $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 *
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
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);
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));
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--}');