X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Finst_lang.php;h=b2264c1dfd8e7b1b92be0a34f92d3c3b75e3e742;hb=5a3cbfe6d2df1c8c32edcab8bf93e8a8432a15fc;hp=d533944f71c466e045c5cd2b335effc0fb789d6c;hpb=14f56ab219f12c3e2b1dec21f356505f1f8292bd;p=fa-stable.git diff --git a/admin/inst_lang.php b/admin/inst_lang.php index d533944f..b2264c1d 100644 --- a/admin/inst_lang.php +++ b/admin/inst_lang.php @@ -17,7 +17,7 @@ include_once($path_to_root."/includes/packages.inc"); include_once($path_to_root . "/admin/db/maintenance_db.inc"); include_once($path_to_root . "/includes/ui.inc"); -if ($use_popup_windows) +if ($SysPrefs->use_popup_windows) $js = get_js_open_window(900, 500); page(_($help_context = "Install/Update Languages"), false, false, "", $js); @@ -30,7 +30,7 @@ simple_page_mode(true); // function display_languages() { - global $table_style, $installed_languages, $dflt_lang, $GetText; + global $installed_languages, $dflt_lang, $GetText; $th = array(_("Language"), _("Name"), _("Encoding"), _("Right To Left"), _("Installed"), _("Available"), _("Default"), "", ""); @@ -77,7 +77,7 @@ function display_languages() $support = $GetText->check_support($lang, $charset); - if (function_exists('gettext') && !$support && !get_post('DisplayAll')) continue; + if (function_exists('gettext') && !$support && !get_post('DisplayAll') && $lang != 'C') continue; label_cell($lang); label_cell($available ? get_package_view_str($lang, $lang_name) : $lang_name); @@ -294,4 +294,3 @@ if (isset($_GET['popup']) || get_post('Add') || $Mode == 'Edit' || $Mode == 'ADD //--------------------------------------------------------------------------------------------- end_page(); -?>