X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_networks.php;h=ebe8728a0a9799a9860670d40c8d1fe5a801a41f;hb=c5173c4d66be7ec72fbf8051a2097cbb377e87a0;hp=2d931e8944e44165d9255dc32163d70bc1c41ed9;hpb=6d36252268cb1928efaab3862dfb5df8006ef60a;p=mailer.git diff --git a/inc/modules/admin/what-list_networks.php b/inc/modules/admin/what-list_networks.php index 2d931e8944..ebe8728a0a 100644 --- a/inc/modules/admin/what-list_networks.php +++ b/inc/modules/admin/what-list_networks.php @@ -14,8 +14,6 @@ * $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 * @@ -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') { @@ -72,18 +70,12 @@ ORDER BY `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 color switching - $content['sw'] = $SW; - // Load row template $OUT .= loadTemplate('admin_list_networks_row', true, $content); - - // Switch color - $SW = 3 - $SW; } // END - while // Load main template