Merge branch 'MDL-40295_m25' of git://github.com/rwijaya/moodle into MOODLE_25_STABLE
This commit is contained in:
@@ -2169,11 +2169,17 @@ class page_wiki_confirmrestore extends page_wiki_save {
|
||||
|
||||
class page_wiki_prettyview extends page_wiki {
|
||||
|
||||
function print_header() {
|
||||
global $CFG, $PAGE, $OUTPUT;
|
||||
function __construct($wiki, $subwiki, $cm) {
|
||||
global $PAGE;
|
||||
$PAGE->set_pagelayout('embedded');
|
||||
echo $OUTPUT->header();
|
||||
parent::__construct($wiki, $subwiki, $cm);
|
||||
}
|
||||
|
||||
function print_header() {
|
||||
global $OUTPUT;
|
||||
$this->set_url();
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo '<h1 id="wiki_printable_title">' . format_string($this->title) . '</h1>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user