X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_networks.php;h=ee0d790c37c0826aa079ec8502e3b84fa1a208f0;hb=0ddf8f6c578aa2c1ff1db9fb8eb0b93a1e247b73;hp=35cb4f9b0746392f4d928ce5f1804b0db061a11e;hpb=225103a2af4ebe180823d48913eac14825381134;p=mailer.git diff --git a/inc/modules/admin/what-list_networks.php b/inc/modules/admin/what-list_networks.php index 35cb4f9b07..ee0d790c37 100644 --- a/inc/modules/admin/what-list_networks.php +++ b/inc/modules/admin/what-list_networks.php @@ -14,10 +14,9 @@ * $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 * * * * This program is free software; you can redistribute it and/or modify * @@ -68,28 +67,22 @@ $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) { +if (!SQL_HASZERONUMS($result)) { // List all - $SW = 2; $OUT = ''; + $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { - // Add/translate entries - $content['sw'] = $SW; - // Load row template $OUT .= loadTemplate('admin_list_networks_row', true, $content); - - // Switch color - $SW = 3 - $SW; } // END - while // Load main template loadTemplate('admin_list_networks', false, $OUT); } else { // Display a message that there are sponsor networks supported, yet - loadTemplate('admin_settings_saved', false, getMessage('ADMIN_NETWORK_NONE_SUPPORTED')); + loadTemplate('admin_settings_saved', false, '{--ADMIN_NETWORK_NONE_SUPPORTED--}'); } // Free result