Permalink
Browse files

MDL-20447 - bulk upload: add heading to the page and fix navbar content.

  • Loading branch information...
1 parent f6b5719 commit c165ce9f158681da0a3a08439814e01774623b09 @rwijaya rwijaya committed May 28, 2010
Showing with 5 additions and 2 deletions.
  1. +0 −1 mod/lesson/essay.php
  2. +5 −1 mod/lesson/report.php
View
@@ -46,7 +46,6 @@
$url->param('mode', $mode);
}
$PAGE->set_url($url);
-$PAGE->navbar->add(get_string('manualgrading','lesson'));
/// Handle any preprocessing before header is printed - based on $mode
switch ($mode) {
View
@@ -74,7 +74,11 @@
$url->param('pageid', $pageid);
}
$PAGE->set_url($url);
-$PAGE->navbar->add(get_string('reports', 'lesson'), new moodle_url('/mod/lesson/report.php', array('id'=>$id)));
+if ($action == 'reportoverview') {
+ $PAGE->navbar->add(get_string('reports', 'lesson'));
+ $PAGE->navbar->add(get_string('overview', 'lesson'));
+}
+
$lessonoutput = $PAGE->get_renderer('mod_lesson');
/// Process any form data before fetching attempts, grades and times

0 comments on commit c165ce9

Please sign in to comment.