Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-20447 - bulk upload: add page heading

  • Loading branch information...
commit 02114f13d3a15abdf9c83849367504eca38f6f13 1 parent a6ada95
Rossiani Wijaya authored
View
5 grade/edit/scale/index.php
@@ -74,7 +74,10 @@
$deleteconfirmed = optional_param('deleteconfirmed', 0, PARAM_BOOL);
if (!$deleteconfirmed) {
- $PAGE->set_title(get_string('scaledelete', 'grades'));
+ $strdeletescale = get_string('delete'). ' '. get_string('scale');
+ $PAGE->navbar->add($strdeletescale);
+ $PAGE->set_title($strdeletescale);
+ $PAGE->set_heading($COURSE->fullname);
echo $OUTPUT->header();
$confirmurl = new moodle_url('index.php', array(
'id' => $courseid, 'scaleid' => $scale->id,
View
2  grade/edit/tree/calculation.php
@@ -104,7 +104,7 @@
grade_build_nav(__FILE__, $strcalculationedit, array('courseid' => $courseid));
$PAGE->set_title($strgrades . ': ' . $strgraderreport);
-$PAGE->set_heading(': ' . $strcalculationedit);
+$PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
$mform->display();
View
2  grade/edit/tree/grade.php
@@ -272,7 +272,7 @@
/*********** BEGIN OUTPUT *************/
$PAGE->set_title($strgrades . ': ' . $strgraderreport . ': ' . $strgradeedit);
-$PAGE->set_heading(': ' . $strgradeedit);
+$PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
echo $OUTPUT->heading($strgradeedit);
View
2  grade/edit/tree/index.php
@@ -163,7 +163,7 @@
} else {
$PAGE->set_title($strgrades . ': ' . $strgraderreport);
- $PAGE->set_heading(': ' . $strcategoriesedit);
+ $PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
$strdeletecheckfull = get_string('deletecheck', '', $object->get_name());
$optionsyes = array('eid'=>$eid, 'confirm'=>1, 'sesskey'=>sesskey(), 'id'=>$course->id, 'action'=>'delete');
View
4 grade/export/key.php
@@ -72,7 +72,7 @@
if ($id and $delete) {
if (!$confirm) {
$PAGE->set_title(get_string('deleteselectedkey'));
- $PAGE->set_heading(get_string('deleteselectedkey'));
+ $PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
$optionsyes = array('id'=>$id, 'delete'=>1, 'courseid'=>$courseid, 'sesskey'=>sesskey(), 'confirm'=>1);
$optionsno = array('id'=>$courseid);
@@ -125,7 +125,7 @@
/// Print header
$PAGE->set_title($strkeys);
-$PAGE->set_heading(': '.$strkeys);
+$PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
$editform->display();
View
4 grade/import/key.php
@@ -72,7 +72,7 @@
if ($id and $delete) {
if (!$confirm) {
$PAGE->set_title(get_string('deleteselectedkey'));
- $PAGE->set_heading(get_string('deleteselectedkey'));
+ $PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
$optionsyes = array('id'=>$id, 'delete'=>1, 'courseid'=>$courseid, 'sesskey'=>sesskey(), 'confirm'=>1);
$optionsno = array('id'=>$courseid);
@@ -125,7 +125,7 @@
/// Print header
$PAGE->set_title($strkeys);
-$PAGE->set_heading(': '.$strkeys);
+$PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
$editform->display();
Please sign in to comment.
Something went wrong with that request. Please try again.