]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed bug 5271 - icon tag missing in Upcoming Events block
authormoodler <moodler>
Mon, 24 Apr 2006 03:26:01 +0000 (03:26 +0000)
committermoodler <moodler>
Mon, 24 Apr 2006 03:26:01 +0000 (03:26 +0000)
calendar/lib.php

index b56874787c9ac947c364b9b354d1fcad811e39fa..84c5e414e9c5d36703917921005209192e680b59 100644 (file)
@@ -854,7 +854,7 @@ function calendar_get_sideblock_upcoming($events, $linkhref = NULL) {
             continue;
         }
         $events[$i] = calendar_add_event_metadata($events[$i]);
-        $content .= '<div class="event">'.$events[$i]->icon.' ';
+        $content .= '<div class="event"><span class="icon c0">'.$events[$i]->icon.'</span> ';
         if (!empty($events[$i]->referer)) {
             // That's an activity event, so let's provide the hyperlink
             $content .= $events[$i]->referer;