]> git.mjollnir.org Git - moodle.git/commitdiff
portfolio MDL-19819 Updated print_header and build_navigation to OUTPUT and PAGE...
authorsamhemelryk <samhemelryk>
Mon, 7 Sep 2009 07:29:07 +0000 (07:29 +0000)
committersamhemelryk <samhemelryk>
Mon, 7 Sep 2009 07:29:07 +0000 (07:29 +0000)
portfolio/already.php

index fc1ac70da055c472c83b1e3e06fef41a576d719b..0516612a7533d39a88aa5d0029e5c1c21ba36620 100644 (file)
@@ -67,8 +67,10 @@ if ($dataid) {
 }
 
 $strheading = get_string('activeexport', 'portfolio');
-print_header($strheading, $strheading);
 
+$PAGE->set_title($strheading);
+$PAGE->set_heading($strheading);
+echo $OUTPUT->header();
 echo $OUTPUT->confirm(get_string('alreadyexporting', 'portfolio'), $CFG->wwwroot . '/portfolio/add.php', $CFG->wwwroot . '/portfolio/add.php?cancel=1');
 
 if (count($table->data) > 0) {