Skip to content

Commit

Permalink
Choice MDL-23087 use consistant header with other modules
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Jul 5, 2010
1 parent 5cdcedf commit 7aba17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mod/choice/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
if (!$download) {
$PAGE->navbar->add($strresponses);
$PAGE->set_title(format_string($choice->name).": $strresponses");
$PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
/// Check to see if groups are being used in this choice
$groupmode = groups_get_activity_groupmode($cm);
Expand Down
1 change: 1 addition & 0 deletions mod/choice/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
}

$PAGE->set_title(format_string($choice->name));
$PAGE->set_heading($course->fullname);
echo $OUTPUT->header();

/// Submit any new data if there is any
Expand Down

0 comments on commit 7aba17d

Please sign in to comment.