fixing print_grade_plugin_selector() to point to edit/courseoutcomes

This commit is contained in:
toyomoyo 2007-07-31 03:28:30 +00:00
parent cc7915781e
commit 014834e40b

View File

@ -122,11 +122,11 @@ function print_grade_plugin_selector($courseid, $active_type, $active_plugin, $r
}
if (has_capability('course:update', $context)) {
$url = 'edit/favoutcomes/index.php?id='.$courseid;
if ($active_type == 'edit' and $active_plugin == 'favoutcomes' ) {
$url = 'edit/courseoutcomes/index.php?id='.$courseid;
if ($active_type == 'edit' and $active_plugin == 'courseoutcomes' ) {
$active = $url;
}
$menu[$url] = get_string('favouriteoutcomes', 'grades');
$menu[$url] = get_string('courseoutcomes', 'grades');
}
}