X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_network_translations.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=4b9887f734067dc52a1730468e25ba066036a3e1;hp=cd5edd079db91a0212e9cd3c6149f62799dfa0d3;hpb=995488beda665a1fc3de65df95f2d1ae236d1245;p=mailer.git diff --git a/inc/modules/admin/what-list_network_translations.php b/inc/modules/admin/what-list_network_translations.php index cd5edd079d..f551ef47b7 100644 --- a/inc/modules/admin/what-list_network_translations.php +++ b/inc/modules/admin/what-list_network_translations.php @@ -1,127 +1,3 @@ 0) { - // List all entries - $OUT = ''; $SW = 2; - while ($row = SQL_FETCHARRAY($result)) { - // Add color switching - $row['sw'] = $SW; - - // Add it to network if the type matches selected - if ($row['network_type_id'] == getRequestParameter('network_type_id')) { - // Matches, then add it for disabling this entry - $GLOBALS['network_translations_disabled'][$row['network_array_index']] = true; - } // END - if - - // Add row template and switch color - $OUT .= loadTemplate('admin_list_network_translations_row', true, $row); - $SW = 3 - $SW; - } // END - while - - // Prepare data for template - $content = array( - 'rows' => $OUT, - ); - - // Load main template - loadTemplate('admin_list_network_translations', false, $content); - } else { - // No entries found - loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_NETWORK_TRANSLATIONS_404', $networkData['network_type_handle'])); - } - - // Free result - SQL_FREERESULT($result); - - // Add form for adding new translations pair - loadTemplate('admin_add_network_translations'); -} else { - // Generate type-selection box - outputHtml(generateAdminDistinctNetworkTypeList()); -} - -// [EOF] +// @DEPRECATED ?>