|
@@ -467,6 +467,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
|
|
print '</span>';
|
|
|
print '</td>';
|
|
|
+ print '</tr>';
|
|
|
}
|
|
|
|
|
|
// Background color THEME_ELDY_BACKBODY
|
|
@@ -513,6 +514,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
|
|
print '</span>';
|
|
|
print '</td>';
|
|
|
+ print '</tr>';
|
|
|
}
|
|
|
|
|
|
// TopMenuBackgroundColor
|
|
@@ -561,6 +563,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
|
|
print '</span>';
|
|
|
print '</td>';
|
|
|
+ print '</tr>';
|
|
|
}
|
|
|
|
|
|
// LeftMenuBackgroundColor
|
|
@@ -609,6 +612,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
|
|
print '</span>';
|
|
|
print '</td>';
|
|
|
+ print '</tr>';
|
|
|
}
|
|
|
|
|
|
// TextTitleColor for title of Pages
|
|
@@ -719,6 +723,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
|
|
print '</span>';
|
|
|
print '</td>';
|
|
|
+ print '</tr>';
|
|
|
}
|
|
|
|
|
|
// BackgroundTableLineEvenColor
|
|
@@ -748,6 +753,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
|
|
print '</span>';
|
|
|
print '</td>';
|
|
|
+ print '</tr>';
|
|
|
}
|
|
|
|
|
|
// Text LinkColor
|
|
@@ -798,6 +804,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
|
|
print '</span>';
|
|
|
print '</td>';
|
|
|
+ print '</tr>';
|
|
|
}
|
|
|
|
|
|
// Use Hover
|
|
@@ -888,5 +895,38 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|
|
print '</tr>';
|
|
|
}
|
|
|
|
|
|
+ // Use MAIN_OPTIMIZEFORTEXTBROWSER
|
|
|
+ if ($foruserprofile)
|
|
|
+ {
|
|
|
+ $default=$langs->trans('No');
|
|
|
+ print '<tr class="oddeven">';
|
|
|
+ print '<td>'.$langs->trans("MAIN_OPTIMIZEFORTEXTBROWSER").'</td>';
|
|
|
+ print '<td colspan="'.($colspan-1).'">';
|
|
|
+ if ($edit)
|
|
|
+ {
|
|
|
+ print $form->selectyesno('MAIN_OPTIMIZEFORTEXTBROWSER', $fuser->conf->MAIN_OPTIMIZEFORTEXTBROWSER, 1);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))
|
|
|
+ {
|
|
|
+ print yn($fuser->conf->MAIN_OPTIMIZEFORTEXTBROWSER);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ print yn(1);
|
|
|
+ if (empty($fuser->conf->MAIN_OPTIMIZEFORTEXTBROWSER)) print ' ('.$langs->trans("ForcedByGlobalSetup").')';
|
|
|
+ }
|
|
|
+ }
|
|
|
+ print ' ('.$langs->trans("Default").': <strong>'.yn(0).'</strong>) ';
|
|
|
+ print $form->textwithpicto('', $langs->trans("MAIN_OPTIMIZEFORTEXTBROWSERDesc"));
|
|
|
+ print '</td>';
|
|
|
+ print '</tr>';
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ // TODO
|
|
|
+ }
|
|
|
+
|
|
|
print '</table>';
|
|
|
}
|