mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix restore option MAIN_OPTIMIZEFORCOLORBLIND
This commit is contained in:
parent
7aa8fa98ec
commit
6ecd862a88
|
|
@ -6634,7 +6634,7 @@ class Form
|
|||
}
|
||||
|
||||
// Add a "Now" link
|
||||
if ($conf->use_javascript_ajax && $addnowlink) {
|
||||
if (!empty($conf->use_javascript_ajax) && $addnowlink) {
|
||||
// Script which will be inserted in the onClick of the "Now" link
|
||||
$reset_scripts = "";
|
||||
if ($addnowlink == 2) { // local computer time
|
||||
|
|
|
|||
|
|
@ -1099,8 +1099,8 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
|
|||
}
|
||||
|
||||
|
||||
// Use MAIN_OPTIMIZEFORTEXTBROWSER
|
||||
if ($foruserprofile && !empty($fuser->conf->MAIN_OPTIMIZEFORCOLORBLIND)) {
|
||||
// Use MAIN_OPTIMIZEFORCOLORBLIND
|
||||
if ($foruserprofile) {
|
||||
//$default=yn($conf->global->MAIN_OPTIMIZEFORCOLORBLIND);
|
||||
$default = $langs->trans('No');
|
||||
print '<tr class="oddeven">';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user