added pop up blocker checker
This commit is contained in:
@@ -25,7 +25,7 @@ class page_quiz extends page_generic_activity {
|
||||
parent::init_quick($data);
|
||||
}
|
||||
|
||||
function print_header($title, $morebreadcrumbs = NULL) {
|
||||
function print_header($title, $morebreadcrumbs = NULL, $bodytags ='') {
|
||||
global $USER, $CFG;
|
||||
|
||||
$this->init_full();
|
||||
@@ -76,7 +76,7 @@ class page_quiz extends page_generic_activity {
|
||||
else {
|
||||
$buttons = ' ';
|
||||
}
|
||||
print_header($title, $this->courserecord->fullname, $crumbtext, '', '', true, $buttons, navmenu($this->courserecord, $this->modulerecord));
|
||||
print_header($title, $this->courserecord->fullname, $crumbtext, '', '', true, $buttons, navmenu($this->courserecord, $this->modulerecord),false,$bodytags);
|
||||
|
||||
}
|
||||
|
||||
@@ -85,4 +85,4 @@ class page_quiz extends page_generic_activity {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user