Weren't these two mistakenly switched? Compare the results from

/index.php and /course/view.php to see what I mean.
This commit is contained in:
defacer
2005-01-25 19:23:05 +00:00
parent 6bc5558ce6
commit 6385200609
+2 -2
View File
@@ -1637,8 +1637,8 @@ function print_header ($title='', $heading='', $navigation='', $focus='', $meta=
$path .= 'index';
}
if (empty($path)) {
$pageid = 'index';
$pageclass = 'course-view';
$pageid = 'course-view';
$pageclass = 'index';
} else {
$pageid = str_replace('/', '-', $path);
$pageclass = explode('-', $pageid);