Skip to content

Commit

Permalink
MDL-49267 mod_wiki: always apply filters to the wiki name
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Mar 6, 2015
1 parent 2abfecb commit 1118c28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mod/wiki/files.php
Expand Up @@ -87,7 +87,7 @@
$PAGE->set_heading($course->fullname);
$PAGE->navbar->add(format_string(get_string('wikifiles', 'wiki')));
echo $OUTPUT->header();
echo $OUTPUT->heading($wiki->name);
echo $OUTPUT->heading(format_string($wiki->name));
echo $OUTPUT->box(format_module_intro('wiki', $wiki, $PAGE->cm->id), 'generalbox', 'intro');

$renderer = $PAGE->get_renderer('mod_wiki');
Expand Down
2 changes: 1 addition & 1 deletion mod/wiki/filesedit.php
Expand Up @@ -95,7 +95,7 @@
}

echo $OUTPUT->header();
echo $OUTPUT->heading($wiki->name);
echo $OUTPUT->heading(format_string($wiki->name));
echo $OUTPUT->box(format_module_intro('wiki', $wiki, $PAGE->cm->id), 'generalbox', 'intro');
echo $OUTPUT->box_start('generalbox');
$mform->display();
Expand Down
2 changes: 1 addition & 1 deletion mod/wiki/pagelib.php
Expand Up @@ -136,7 +136,7 @@ function print_header() {

echo $OUTPUT->header();
$wiki = $PAGE->activityrecord;
echo $OUTPUT->heading($wiki->name);
echo $OUTPUT->heading(format_string($wiki->name));

echo $this->wikioutput->wiki_info();

Expand Down

0 comments on commit 1118c28

Please sign in to comment.