X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fdisplay_prefs.php;h=0e2084915a13d1703e78777ddc8b85bfb11e89d3;hb=df3ebb4251529abb480179600417fe7164951fe2;hp=228987cb26ea11c5d82584dede86cc72e1b27e73;hpb=f7b0f0130571e3473baead5cffe25666170fe70f;p=fa-stable.git diff --git a/admin/display_prefs.php b/admin/display_prefs.php index 228987cb..0e208491 100644 --- a/admin/display_prefs.php +++ b/admin/display_prefs.php @@ -45,10 +45,7 @@ if (isset($_POST['setprefs'])) $_SESSION['language']->set_language($_POST['language']); // refresh main menu - flush_dir($comp_path.'/'.user_company().'/js_cache'); - - if ($chg_theme) - $_SESSION['bordercolor'] = "#8cacbb"; + flush_dir(company_path().'/js_cache'); if ($chg_theme || $chg_lang) meta_forward($_SERVER['PHP_SELF']); @@ -63,7 +60,7 @@ if (isset($_POST['setprefs'])) start_form(); -start_outer_table($table_style2); +start_outer_table(TABLESTYLE2); table_section(1); table_section_title(_("Decimal Places"));