]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7758 "Replace breadcrumb image with THEME->rarrow in unit test reports".
authornfreear <nfreear>
Fri, 1 Dec 2006 10:20:40 +0000 (10:20 +0000)
committernfreear <nfreear>
Fri, 1 Dec 2006 10:20:40 +0000 (10:20 +0000)
admin/report/simpletest/ex_reporter.php

index 26092bb953a986ad254dac54410e43b462201544..4b1b2022f8761fb8b7453bb045dfbe0ebd468d0a 100644 (file)
@@ -38,14 +38,15 @@ class ExHtmlReporter extends HtmlReporter {
      * @param bool $showpasses Whether this reporter should output anything for passes.
      */
     function ExHtmlReporter($showpasses) {
-        global $CFG;
+        global $CFG, $THEME;
 
         $this->HtmlReporter();
         $this->showpasses = $showpasses;
 
         $this->strrunonlyfolder = $this->get_string('runonlyfolder');
         $this->strrunonlyfile = $this->get_string('runonlyfile');
-        $this->strseparator = ' <img src="' . $CFG->pixpath . '/a/r_breadcrumb.gif" class="resize" alt="" /> ';
+        check_theme_arrows();
+        $this->strseparator = ' <span class="sep">'.$THEME->rarrow.'</span> ';
     }
 
     /**