mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-20447 - bulk upload: add heading to the page and fix navbar content.
This commit is contained in:
parent
cde82a41b2
commit
2e4fd16675
9 changed files with 19 additions and 3 deletions
|
@ -170,10 +170,12 @@ if ($mform->is_cancelled()){
|
|||
redirect("view.php?id=$cm->id&mode=entry&hook=$entry->id");
|
||||
}
|
||||
|
||||
$stredit = empty($entry->id) ? get_string('addentry', 'glossary') : get_string('edit');
|
||||
if (!empty($id)) {
|
||||
$PAGE->navbar->add(get_string('edit'));
|
||||
}
|
||||
|
||||
$PAGE->navbar->add($stredit);
|
||||
$PAGE->set_title(format_string($glossary->name));
|
||||
$PAGE->set_heading($course->fullname);
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading(format_string($glossary->name));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue