mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-41621' of git://github.com/rwijaya/moodle
This commit is contained in:
commit
4ead355143
@ -40,6 +40,7 @@ $PAGE->navbar->add($strplural);
|
||||
$PAGE->set_title($strplural);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading(format_string($strplural));
|
||||
|
||||
$context = context_course::instance($course->id);
|
||||
|
||||
|
@ -221,14 +221,14 @@ class mod_assign_renderer extends plugin_renderer_base {
|
||||
}
|
||||
|
||||
$this->page->set_title(get_string('pluginname', 'assign'));
|
||||
$this->page->set_heading($header->assign->name);
|
||||
$this->page->set_heading($this->page->course->fullname);
|
||||
|
||||
$o .= $this->output->header();
|
||||
$heading = format_string($header->assign->name, false, array('context' => $header->context));
|
||||
$o .= $this->output->heading($heading);
|
||||
if ($header->preface) {
|
||||
$o .= $header->preface;
|
||||
}
|
||||
$heading = format_string($header->assign->name, false, array('context' => $header->context));
|
||||
$o .= $this->output->heading($heading);
|
||||
|
||||
if ($header->showintro) {
|
||||
$o .= $this->output->box_start('generalbox boxaligncenter', 'intro');
|
||||
|
Loading…
x
Reference in New Issue
Block a user