From: sam_marshall Date: Tue, 9 Oct 2007 16:56:00 +0000 (+0000) Subject: MDL-11681 Changed it so current tab no longer is a link to # X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ca3b6e52d1d08f5d4f146e2472cffc17c9e5bc38;p=moodle.git MDL-11681 Changed it so current tab no longer is a link to # --- diff --git a/lib/weblib.php b/lib/weblib.php index da100d90f7..d7251830d8 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -6235,7 +6235,8 @@ function convert_tree_to_html($tree, $row=0) { $str .= (!empty($liclass)) ? '
  • ' : '
  • '; if ($tab->inactive || $tab->active || ($tab->selected && !$tab->linkedwhenselected)) { - $str .= ''.$tab->text.''; + // The a tag is used for styling + $str .= ''.$tab->text.''; } else { $str .= ''.$tab->text.''; } diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index 949fb806cc..4f4f2f79b3 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -630,6 +630,10 @@ body#grade-index .grades .header { *** Tabs ***/ +.tabtree a.nolink:hover { + text-decoration: none; +} + /*** *** User