X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_networks.php;h=8a686a1002fa28d97db8a531b05957fc36eda394;hp=62123ad33c6d1dbd281c4ba5548655a05830d5df;hb=e3934352dffa6eb9da59a137ae1a9414e5b4d80b;hpb=cf3765c38cf0a76f396aca291f71858936e92956 diff --git a/inc/modules/admin/what-list_networks.php b/inc/modules/admin/what-list_networks.php index 62123ad33c..8a686a1002 100644 --- a/inc/modules/admin/what-list_networks.php +++ b/inc/modules/admin/what-list_networks.php @@ -14,12 +14,10 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -43,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); // These are expert settings! if (doVerifyExpertSettings() != 'agreed') { @@ -65,14 +63,23 @@ if ($GLOBALS['network_display'] === false) { // Query for networks $result = SQL_QUERY('SELECT - `network_id`, `network_short_name`, `network_title`, `network_reflink`, `network_data_seperator`, `network_row_seperator`, `network_request_type`, `network_charset` + `network_id`, + `network_short_name`, + `network_title`, + `network_reflink`, + `network_data_separator`, + `network_row_separator`, + `network_request_type`, + `network_charset`, + `network_require_id_card`, + `network_query_amount` FROM `{?_MYSQL_PREFIX?}_network_data` ORDER BY `network_short_name` ASC', __FILE__, __LINE__); // Do we have entries? -if (SQL_NUMROWS($result) > 0) { +if (!SQL_HASZERONUMS($result)) { // List all $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { @@ -84,7 +91,7 @@ if (SQL_NUMROWS($result) > 0) { loadTemplate('admin_list_networks', false, $OUT); } else { // Display a message that there are sponsor networks supported, yet - loadTemplate('admin_settings_saved', false, '{--ADMIN_NETWORK_NONE_SUPPORTED--}'); + displayMessage('{--ADMIN_NETWORK_NONE_SUPPORTED--}'); } // Free result