Fix tab attributes when some specified as parameters.

This commit is contained in:
Michal Čihař
2003-05-13 11:35:26 +00:00
parent 38bf517f83
commit 59838e8a3c
2 changed files with 7 additions and 1 deletions

View File

@@ -1689,7 +1689,11 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
$db_details_links_count_tabs++;
if (!empty($attr)) {
$attr = ' width="100%" ' . $attr;
if ($cfg['LightTabs']) {
$attr = ' ' . $attr;
} else {
$attr = ' style="display:block" ' . $attr;
}
} else {
if ($cfg['LightTabs']) {
$attr = ' ';