]> git.mjollnir.org Git - moodle.git/commitdiff
Fixing display of costs
authormoodler <moodler>
Thu, 30 Sep 2004 08:35:24 +0000 (08:35 +0000)
committermoodler <moodler>
Thu, 30 Sep 2004 08:35:24 +0000 (08:35 +0000)
enrol/paypal/enrol.php

index 13ab1f3153397864c2200f2ef16926a68801ee3e..f30f2cec0c2defbf5b986a9e8c17eef0d3f8c9c6 100644 (file)
@@ -90,9 +90,8 @@ function get_access_icons($course) {
            default:    $currency = '$'; break;
         }
         
-        $str .= "<p class=\"coursecost\"><font size=\"-1\">$strcost: ".
-                "<a title=\"$strrequirespayment\" href=\"$CFG->wwwroot/course/view.php?id=$course->id\"></a>";
-        $str .= "$currency".format_float($cost,2).'</a></p>';
+        $str .= '<span class="courseboxcost" title="'.$strrequirespayment.'">'.$strcost.': ';
+        $str .= $currency.format_float($cost,2).'</span>';
         
     }