From: moodler Date: Wed, 25 Jul 2007 07:34:00 +0000 (+0000) Subject: Fix selected tabs X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b9c70b99de5a37a305ea375e70fe944b5cfb536d;p=moodle.git Fix selected tabs --- diff --git a/grade/report/outcomes/course.php b/grade/report/outcomes/course.php index 93c72f65a4..215ac58491 100755 --- a/grade/report/outcomes/course.php +++ b/grade/report/outcomes/course.php @@ -78,7 +78,7 @@ $navigation = build_navigation($navlinks); print_header_simple($strgrades.':'.$stroutcomes, ':'.$strgrades, $navigation, '', '', true); // Add tabs - $currenttab = 'outcomesettings'; + $currenttab = 'courseoutcomes'; include('tabs.php'); /// listing of all site outcomes + this course specific outcomes @@ -169,4 +169,4 @@ function truncate($string, $num) { } return $string; } -?> \ No newline at end of file +?> diff --git a/grade/report/outcomes/site.php b/grade/report/outcomes/site.php index ed2f5726d6..43fd0481fd 100755 --- a/grade/report/outcomes/site.php +++ b/grade/report/outcomes/site.php @@ -52,7 +52,7 @@ $perpage = 30; admin_externalpage_print_header(); // Add tabs - $currenttab = 'outcomesettings'; + $currenttab = 'siteoutcomes'; include('tabs.php'); $totalcount = count_records('grade_outcomes'); @@ -119,4 +119,4 @@ $perpage = 30; // print the footer, end of page admin_externalpage_print_footer(); -?> \ No newline at end of file +?>