This commit is contained in:
BB2A Anthony Berton 2022-01-26 17:20:12 +01:00
parent 512df3c580
commit d0942117df

View File

@ -503,6 +503,25 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
print '</tr>';
}
// BorderTableActive
if ($foruserprofile) {
} else {
$default = $langs->trans('No');
print '<tr class="oddeven">';
print '<td>'.$langs->trans("TopMenuDisableImages").'</td>';
print '<td colspan="'.($colspan - 1).'">';
if ($edit) {
print ajax_constantonoff('THEME_TOPMENU_DISABLE_IMAGE', array(), null, 0, 0, 1);
//print $form->selectyesno('THEME_TOPMENU_DISABLE_IMAGE', $conf->global->THEME_TOPMENU_DISABLE_IMAGE, 1);
} else {
print yn($conf->global->THEME_TOPMENU_DISABLE_IMAGE);
}
print ' &nbsp; <span class="nowraponall opacitymedium">'.$langs->trans("Default").'</span>: <strong>'.$default.'</strong> ';
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
print '</td>';
print '</tr>';
}
// Background color THEME_ELDY_BACKBODY
if ($foruserprofile) {
/*