]> git.mjollnir.org Git - moodle.git/commitdiff
Show cost info on info pages MDL-8318
authormoodler <moodler>
Mon, 5 Mar 2007 05:39:49 +0000 (05:39 +0000)
committermoodler <moodler>
Mon, 5 Mar 2007 05:39:49 +0000 (05:39 +0000)
course/info.php

index feb253bf2236326af2bcef0a5aaf9c79b135b4c3..267d9dc3555e0bd713b63b6bca371a5dd022ad25 100644 (file)
         }
     }
 
+    require_once("$CFG->dirroot/enrol/enrol.class.php");
+    $enrol = enrolment_factory::factory($course->enrol);
+    echo $enrol->get_access_icons($course);
+
     print_box_end();
 
     echo "<br />";