From: nicolasconnault Date: Tue, 18 Aug 2009 05:18:28 +0000 (+0000) Subject: no message X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=de2bd9df22f87e5321ea4cc44cbfcd1b3874500c;p=moodle.git no message --- diff --git a/portfolio/add.php b/portfolio/add.php index c52417fdcc..ee4b8b8304 100644 --- a/portfolio/add.php +++ b/portfolio/add.php @@ -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; } diff --git a/portfolio/type/download/file.php b/portfolio/type/download/file.php index 63d857a078..e131478cce 100644 --- a/portfolio/type/download/file.php +++ b/portfolio/type/download/file.php @@ -21,7 +21,7 @@ $exporter->verify_rewaken(); $exporter->print_header(get_string('downloading', 'portfolio_download'), false); $returnurl = $exporter->get('caller')->get_return_url(); -notify('' . get_string('returntowhereyouwere', 'portfolio') . '
'); +echo $OUTPUT->notification('' . get_string('returntowhereyouwere', 'portfolio') . '
'); // 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.