Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-20447 - bulk upload: add heading to the page

  • Loading branch information...
commit 5617e8c959b58fea88bb1da1f14c3d5fb70159c5 1 parent f79321f
Rossiani Wijaya authored
View
1  mod/survey/index.php
@@ -26,6 +26,7 @@
$PAGE->navbar->add($strsurveys);
$PAGE->set_title($strsurveys);
+ $PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
if (! $surveys = get_all_instances_in_course("survey", $course)) {
View
1  mod/survey/save.php
@@ -59,6 +59,7 @@
$strsurveysaved = get_string('surveysaved', 'survey');
$PAGE->set_title($strsurveysaved);
+ $PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
if (survey_already_done($survey->id, $USER->id)) {
View
1  mod/survey/view.php
@@ -59,6 +59,7 @@
$strsurvey = get_string("modulename", "survey");
$PAGE->set_title(format_string($survey->name));
+ $PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
/// Check to see if groups are being used in this survey
Please sign in to comment.
Something went wrong with that request. Please try again.