mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 11:26:41 +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
|
@ -70,9 +70,13 @@ $strglossaries = get_string("modulenameplural", "glossary");
|
|||
$strglossary = get_string("modulename", "glossary");
|
||||
|
||||
$PAGE->navbar->add($strglossaries, new moodle_url('/mod/glossary/index.php', array('id'=>$course->id)));
|
||||
$PAGE->navbar->add(format_string($glossary->name), new moodle_url('/mod/glossary/view.php', array('id'=>$cm->id,'tab'=>'GLOSSARY_CATEGORY_VIEW')));
|
||||
$PAGE->navbar->add(get_string("categories","glossary"));
|
||||
if (!empty($action)) {
|
||||
$navaction = get_string($action). " " . moodle_strtolower(get_string("category","glossary"));
|
||||
$PAGE->navbar->add($navaction);
|
||||
}
|
||||
$PAGE->set_title(format_string($glossary->name));
|
||||
$PAGE->set_heading($course->fullname);
|
||||
echo $OUTPUT->header();
|
||||
|
||||
if ( $hook >0 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue