mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Added styles to tabs
This commit is contained in:
parent
4257e7f69e
commit
e94c179a04
1 changed files with 3 additions and 1 deletions
|
@ -606,10 +606,12 @@ for ($row = 0; $row < $numrows; $row++) {
|
|||
}
|
||||
if ($tabproccessed == $currenttab) {
|
||||
$currentcolor = $currenttabcolor;
|
||||
$currentstyle = 'generaltabselected';
|
||||
} else {
|
||||
$currentcolor = $tabcolor;
|
||||
$currentstyle = 'generaltab';
|
||||
}
|
||||
echo "<td width=\"$tabwidth%\" bgcolor=\"$currentcolor\" align=\"center\"><b>";
|
||||
echo "<td class=\"$currentstyle\" width=\"$tabwidth%\" bgcolor=\"$currentcolor\" align=\"center\"><b>";
|
||||
if ($tabproccessed != $currenttab and $data[$tabproccessed]->link) {
|
||||
echo "<a href=\"" . $data[$tabproccessed]->link . "\">";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue