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