]> git.mjollnir.org Git - moodle.git/commitdiff
More styles -- missed the target last time!
authormoodler <moodler>
Sun, 19 Oct 2003 05:07:29 +0000 (05:07 +0000)
committermoodler <moodler>
Sun, 19 Oct 2003 05:07:29 +0000 (05:07 +0000)
mod/glossary/lib.php

index b56756c3c526fa6421d6ff9928d39cf01f707dba..07d3fa3afb04f08546ecc799b7c7c95eddf56a82 100644 (file)
@@ -652,10 +652,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 . "\">";
                     }