user MDL-19825 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants
This commit is contained in:
+4
-1
@@ -33,8 +33,11 @@
|
||||
$strpolicyagreement = get_string('policyagreement');
|
||||
$strpolicyagreementclick = get_string('policyagreementclick');
|
||||
|
||||
print_header($strpolicyagreement, $SITE->fullname, build_navigation(array(array('name'=>$strpolicyagreement, 'link'=>null, 'type'=>'misc'))));
|
||||
$PAGE->set_title($strpolicyagreement);
|
||||
$PAGE->set_heading($SITE->fullname);
|
||||
$PAGE->navbar->add($strpolicyagreement);
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading($strpolicyagreement);
|
||||
|
||||
$mimetype = mimeinfo('type', $CFG->sitepolicy);
|
||||
|
||||
Reference in New Issue
Block a user