mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-38089 mod_wiki: Fix incorrect links
This commit is contained in:
parent
e592ccd860
commit
83cfd14444
1 changed files with 2 additions and 2 deletions
|
@ -1111,7 +1111,7 @@ class page_wiki_diff extends page_wiki {
|
|||
global $PAGE, $CFG;
|
||||
|
||||
parent::create_navbar();
|
||||
$PAGE->navbar->add(get_string('history', 'wiki'), $CFG->wwwroot . '/mod/wiki/history.php?pageid' . $this->page->id);
|
||||
$PAGE->navbar->add(get_string('history', 'wiki'), $CFG->wwwroot . '/mod/wiki/history.php?pageid=' . $this->page->id);
|
||||
$PAGE->navbar->add(get_string('diff', 'wiki'));
|
||||
}
|
||||
|
||||
|
@ -2098,7 +2098,7 @@ class page_wiki_viewversion extends page_wiki {
|
|||
global $PAGE, $CFG;
|
||||
|
||||
parent::create_navbar();
|
||||
$PAGE->navbar->add(get_string('history', 'wiki'), $CFG->wwwroot . '/mod/wiki/history.php?pageid' . $this->page->id);
|
||||
$PAGE->navbar->add(get_string('history', 'wiki'), $CFG->wwwroot . '/mod/wiki/history.php?pageid=' . $this->page->id);
|
||||
$PAGE->navbar->add(get_string('versionnum', 'wiki', $this->version->version));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue