]> git.mjollnir.org Git - moodle.git/commitdiff
Fix deprecated function use.
authortjhunt <tjhunt>
Thu, 25 Jun 2009 12:36:51 +0000 (12:36 +0000)
committertjhunt <tjhunt>
Thu, 25 Jun 2009 12:36:51 +0000 (12:36 +0000)
admin/report/unittest/ex_reporter.php

index 9bcf3ab02f8aaef98f628cf83c92130faf22d9fb..a087fde9a81ab1bceb295c2cb1308d43b52ec1e8 100644 (file)
@@ -84,7 +84,7 @@ class ExHtmlReporter extends HtmlReporter {
     function _paintPassFail($passorfail, $message, $rawmessage=false) {
         global $FULLME, $CFG;
 
-        print_simple_box_start('', '100%', '', 5, $passorfail . ' generalbox');
+        print_box_start($passorfail . ' generalbox ');
         $url = $this->_htmlEntities($this->_stripParameterFromUrl($FULLME, 'path'));
         echo '<b class="', $passorfail, '">', $this->get_string($passorfail), '</b>: ';
         $breadcrumb = $this->getTestList();
@@ -100,7 +100,7 @@ class ExHtmlReporter extends HtmlReporter {
         echo "<a href=\"{$url}path=$folder$file\" title=\"$this->strrunonlyfile\">$file</a>";
         echo $this->strseparator, implode($this->strseparator, $breadcrumb);
         echo '<br />', ($rawmessage ? $message : $this->_htmlEntities($message)), "\n\n";
-        print_simple_box_end();
+        print_box_end();
         flush();
     }