]> git.mjollnir.org Git - moodle.git/commitdiff
no message
authornicolasconnault <nicolasconnault>
Tue, 18 Aug 2009 05:18:28 +0000 (05:18 +0000)
committernicolasconnault <nicolasconnault>
Tue, 18 Aug 2009 05:18:28 +0000 (05:18 +0000)
portfolio/add.php
portfolio/type/download/file.php

index c52417fdccf2382203b59e3eee18600d3e74f65d..ee4b8b8304b22f08b22c08dbe83666ccc2c46a5c 100644 (file)
@@ -200,9 +200,9 @@ if (!$exporter->get('instance')) {
     }
     else {
         $exporter->print_header('selectplugin');
-        print_simple_box_start();
+        echo $OUTPUT->box_start();
         $mform->display();
-        print_simple_box_end();
+        echo $OUTPUT->box_end();
         echo $OUTPUT->footer();
         exit;
     }
index 63d857a078262eb81be777cf2013ded37320aa45..e131478cce1877babfee3c7e3d1e1df6ac18aa3d 100644 (file)
@@ -21,7 +21,7 @@ $exporter->verify_rewaken();
 
 $exporter->print_header(get_string('downloading', 'portfolio_download'), false);
 $returnurl = $exporter->get('caller')->get_return_url();
-notify('<a href="' . $returnurl . '">' . get_string('returntowhereyouwere', 'portfolio') . '</a><br />');
+echo $OUTPUT->notification('<a href="' . $returnurl . '">' . get_string('returntowhereyouwere', 'portfolio') . '</a><br />');
 
 // if they don't have javascript, they can submit the form here to get the file.
 // if they do, it does it nicely for them.