From ca3b6e52d1d08f5d4f146e2472cffc17c9e5bc38 Mon Sep 17 00:00:00 2001 From: sam_marshall Date: Tue, 9 Oct 2007 16:56:00 +0000 Subject: [PATCH] MDL-11681 Changed it so current tab no longer is a link to # --- lib/weblib.php | 3 ++- theme/standard/styles_fonts.css | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5