mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
MDL-14679 fixed regression
This commit is contained in:
parent
ad4375ac7f
commit
29c1951305
@ -358,8 +358,8 @@ function calendar_get_popup($is_today, $event_timestart, $popupcontent='') {
|
||||
} else {
|
||||
$popupcaption .= get_string('eventsfor', 'calendar', userdate($event_timestart, get_string('strftimedayshort')));
|
||||
}
|
||||
$popupcontent = addslashes_js($popupcontent);
|
||||
$popupcaption = addslashes_js($popupcaption);
|
||||
$popupcontent = addslashes_js(s($popupcontent));
|
||||
$popupcaption = addslashes_js(s($popupcaption));
|
||||
$popup = 'onmouseover="return overlib(\''.$popupcontent.'\', CAPTION, \''.$popupcaption.'\');" onmouseout="return nd();"';
|
||||
return $popup;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user