Skip to content

Commit

Permalink
MDL-20447 - bulk upload: add heading to the page and fix navbar content.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwijaya committed May 28, 2010
1 parent f6b5719 commit c165ce9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion mod/lesson/essay.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 5 additions & 1 deletion mod/lesson/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c165ce9

Please sign in to comment.