From: moodler Date: Thu, 20 May 2004 17:30:20 +0000 (+0000) Subject: Use the new images in pixpath X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1b1e79f55c2ecdaaca92d8bddc2f90feeba9a1d0;p=moodle.git Use the new images in pixpath --- diff --git a/calendar/i/event.gif b/calendar/i/event.gif deleted file mode 100644 index a827d8b522..0000000000 Binary files a/calendar/i/event.gif and /dev/null differ diff --git a/calendar/lib.php b/calendar/lib.php index 538afd89ae..b52d8a3e72 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -170,7 +170,7 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y $popupcontent .= '
modpixpath.'/'.$events[$eventid]->modulename.'/icon.gif\\\' style=\\\'vertical-align: middle; margin-right: 4px;\\\' alt=\\\''.$events[$eventid]->modulename.'\\\' />id.'\\\'>'.addslashes(htmlspecialchars($events[$eventid]->name)).'
'; } else { - $popupcontent .= '
wwwroot.'/calendar/i/event.gif\\\' style=\\\'vertical-align: middle; margin-right: 4px;\\\' alt=\\\'\\\' />id.'\\\'>'.addslashes(htmlspecialchars($events[$eventid]->name)).'
'; + $popupcontent .= '
pixpath.'/c/event.gif\\\' style=\\\'vertical-align: middle; margin-right: 4px;\\\' alt=\\\'\\\' />id.'\\\'>'.addslashes(htmlspecialchars($events[$eventid]->name)).'
'; } } @@ -372,7 +372,7 @@ function calendar_get_upcoming($courses, $groups, $users, $daysinfuture, $maxeve // Global event global $site; $output[$outkey]->referer = ''.$site->shortname.''; - $output[$outkey]->icon = ''; + $output[$outkey]->icon = ''; $output[$outkey]->name = $event->name; $output[$outkey]->time = $eventtime; $output[$outkey]->description = $event->description; @@ -382,21 +382,21 @@ function calendar_get_upcoming($courses, $groups, $users, $daysinfuture, $maxeve calendar_get_course_cached($coursecache, $event->courseid); $output[$outkey]->referer = ''.$coursecache[$event->courseid]->fullname.''; - $output[$outkey]->icon = ''; + $output[$outkey]->icon = ''; $output[$outkey]->name = $event->name; $output[$outkey]->time = $eventtime; $output[$outkey]->description = $event->description; } else if($event->groupid) { // Group event - $output[$outkey]->icon = ''; + $output[$outkey]->icon = ''; $output[$outkey]->name = $event->name; $output[$outkey]->time = $eventtime; $output[$outkey]->description = $event->description; } else if($event->userid) { // User event - $output[$outkey]->icon = ''; + $output[$outkey]->icon = ''; $output[$outkey]->name = $event->name; $output[$outkey]->time = $eventtime; $output[$outkey]->description = $event->description;