]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19793 Migrated calls to print_spacer()
authornicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 02:24:59 +0000 (02:24 +0000)
committernicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 02:24:59 +0000 (02:24 +0000)
calendar/lib.php

index cd95bd69fa86d17e9a4d5b47f6b48c6fd517853f..aec754a26c9a98bb1015215c98c183a15a24356e 100644 (file)
@@ -521,7 +521,10 @@ function calendar_print_event($event) {
     if (!empty($event->icon)) {
         echo $event->icon;
     } else {
-        print_spacer(16,16);
+        $spacer = new html_image();
+        $spacer->height = 16;
+        $spacer->width = 16;
+        echo $OUTPUT->spacer($spacer) . '<br />';
     }
     echo '</td>';
     echo '<td class="topic">';