mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Fix for bug 1354:
(REAL fix this time! ;-) Thanks for the report, Eloy. I now know what I was doing wrong. Because on my dev site I have the same TZ as the server, sometimes I can make mistakes and "get away with them". :-/
This commit is contained in:
parent
ef3ae69ebd
commit
1bb9d624c4
@ -169,7 +169,7 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y
|
||||
$popupcontent .= '<div><a href=\\\''.CALENDAR_URL.'view.php?view=event&id='.$events[$eventid]->id.'\\\'>'.addslashes(htmlspecialchars($events[$eventid]->name)).'</a></div>';
|
||||
}
|
||||
|
||||
$popupcaption = get_string('eventsfor', 'calendar', strftime(get_string('strftimedayshort'), $events[$eventid]->timestart));
|
||||
$popupcaption = get_string('eventsfor', 'calendar', userdate($events[$eventid]->timestart, get_string('strftimedayshort')));
|
||||
$popup = 'onmouseover="return overlib(\''.$popupcontent.'\', CAPTION, \''.$popupcaption.'\');" onmouseout="return nd();"';
|
||||
|
||||
// Class and cell content
|
||||
|
Loading…
x
Reference in New Issue
Block a user