projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed maximum nam length.
[fa-stable.git]
/
admin
/
display_prefs.php
diff --git
a/admin/display_prefs.php
b/admin/display_prefs.php
index 228987cb26ea11c5d82584dede86cc72e1b27e73..d792f10441fb040dafb30369d70aa8356b0cebae 100644
(file)
--- a/
admin/display_prefs.php
+++ b/
admin/display_prefs.php
@@
-45,10
+45,10
@@
if (isset($_POST['setprefs']))
$_SESSION['language']->set_language($_POST['language']);
// refresh main menu
$_SESSION['language']->set_language($_POST['language']);
// refresh main menu
- flush_dir(
$comp_path.'/'.user_company().'/js_cache');
+ flush_dir(
company_path().'/js_cache');
- if ($chg_theme)
- $_SESSION[
'bordercolor'] = "#8cacbb"
;
+ if ($chg_theme
&& $allow_demo_mode
)
+ $_SESSION[
"wa_current_user"]->prefs->theme = $_POST['theme']
;
if ($chg_theme || $chg_lang)
meta_forward($_SERVER['PHP_SELF']);
if ($chg_theme || $chg_lang)
meta_forward($_SERVER['PHP_SELF']);
@@
-63,7
+63,7
@@
if (isset($_POST['setprefs']))
start_form();
start_form();
-start_outer_table(
$table_style
2);
+start_outer_table(
TABLESTYLE
2);
table_section(1);
table_section_title(_("Decimal Places"));
table_section(1);
table_section_title(_("Decimal Places"));