More nav cleanups
authorMartin Dougiamas <martin@moodle.com>
Thu, 29 Apr 2010 17:06:26 +0000 (17:06 +0000)
committerMartin Dougiamas <martin@moodle.com>
Thu, 29 Apr 2010 17:06:26 +0000 (17:06 +0000)
course/report/log/index.php

index f6f2032..8e76bbc 100644 (file)
@@ -99,7 +99,7 @@
                     $PAGE->set_title($course->shortname .': '. $strlogs);
                     $PAGE->set_heading($course->fullname);
                     $PAGE->navbar->add($strreports, new moodle_url('/course/report.php', array('id'=>$course->id)));
-                    $PAGE->navbar->add($strlogs, new moodle_url('/course/index.php', array('id'=>$course->id)));
+                    $PAGE->navbar->add($strlogs, new moodle_url('/course/report/log/index.php', array('id'=>$course->id)));
                     $PAGE->navbar->add("$userinfo, $dateinfo");
                     echo $OUTPUT->header();
                 }
         } else {
             $PAGE->set_title($course->shortname .': '. $strlogs);
             $PAGE->set_heading($course->fullname);
+            $PAGE->navbar->add($strreports, new moodle_url('/course/report.php', array('id'=>$course->id)));
+            $PAGE->navbar->add($strlogs);
             echo $OUTPUT->header();
         }