X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_networks.php;h=ccf242dded72cd5d8b934dc88587bb05219b7447;hb=59db3a67b3cf68aaad36a9a68196c5634066ab6d;hp=d78e2b8f4a8467b34587920dc756b530117c7bfa;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/inc/modules/admin/what-config_networks.php b/inc/modules/admin/what-config_networks.php index d78e2b8f4a..ccf242dded 100644 --- a/inc/modules/admin/what-config_networks.php +++ b/inc/modules/admin/what-config_networks.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -41,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); // By default we should display list/add new forms $GLOBALS['network_display'] = true; @@ -69,7 +69,7 @@ ORDER BY d.`network_short_name` ASC", __FILE__, __LINE__); // Do we have entries? -if (SQL_NUMROWS($result) > 0) { +if (!SQL_HASZERONUMS($result)) { // We have some networks here $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { @@ -87,7 +87,7 @@ if (SQL_NUMROWS($result) > 0) { loadTemplate('admin_list_network_config', false, $OUT); } else { // Please setup some networks first - loadTemplate('admin_settings_saved', false, '{--ADMIN_NETWORK_DATA_MISSING--}'); + displayMessage('{--ADMIN_NETWORK_DATA_MISSING--}'); } // Free result SQL_FREERESULT($result);