X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_networks.php;h=ef72b032d50d1f2794d6ce308e4d7a05483c0b63;hb=2272afc569a7b308e6c34a2d28457495e6b2483b;hp=04e36537754bdf0a06e65da488808629d81cd4aa;hpb=e5fe5afb17a5c8106f4c890234dfa39419e70f5d;p=mailer.git diff --git a/inc/modules/admin/what-list_networks.php b/inc/modules/admin/what-list_networks.php index 04e3653775..ef72b032d5 100644 --- a/inc/modules/admin/what-list_networks.php +++ b/inc/modules/admin/what-list_networks.php @@ -1,7 +1,7 @@ 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')); + displayMessage('{--ADMIN_NETWORK_NONE_SUPPORTED--}'); } // Free result