Merge pull request #19938 from bb2a/border-table-2

NEW - Border table
This commit is contained in:
Laurent Destailleur 2022-02-06 14:59:31 +01:00 committed by GitHub
commit 3e6d922cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

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("UseBorderOnTable").'</td>';
print '<td colspan="'.($colspan - 1).'">';
if ($edit) {
print ajax_constantonoff('THEME_ELDY_USEBORDERONTABLE', array(), null, 0, 0, 1);
//print $form->selectyesno('THEME_ELDY_USEBORDERONTABLE', $conf->global->THEME_ELDY_USEBORDERONTABLE, 1);
} else {
print yn($conf->global->THEME_ELDY_USEBORDERONTABLE);
}
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) {
/*

View File

@ -1917,6 +1917,7 @@ ConfFileMustContainCustom=Installing or building an external module from applica
HighlightLinesOnMouseHover=Highlight table lines when mouse move passes over
HighlightLinesColor=Highlight color of the line when the mouse passes over (use 'ffffff' for no highlight)
HighlightLinesChecked=Highlight color of the line when it is checked (use 'ffffff' for no highlight)
UseBorderOnTable=Active border on tables
BtnActionColor=Color of the action button
TextBtnActionColor=Text color of the action button
TextTitleColor=Text color of Page title