From 9cb8879b6bf94dac53684dda1dc923b31bad3484 Mon Sep 17 00:00:00 2001 From: defacer Date: Tue, 1 Jun 2004 10:40:20 +0000 Subject: [PATCH] Minor changes, Martin's fix for bugs 1502, 1184 (duplicated) confirmed. --- calendar/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/lib.php b/calendar/lib.php index 4958c390f6..9c7343eda3 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -202,11 +202,11 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y $popupicon = $CFG->pixpath.'/c/user.gif'; $popupalt = ''; } - $popupcontent .= '
'.$popupalt.''.$event->name.'
'; + $popupcontent .= '
'.$popupalt.''.$event->name.'
'; } $popupcaption = get_string('eventsfor', 'calendar', userdate($events[$eventid]->timestart, $strftimetimedayshort)); - $popupcontent = str_replace("'", "\'", htmlSpecialChars($popupcontent)); + $popupcontent = str_replace("'", "\'", htmlspecialchars($popupcontent)); $popup = 'onmouseover="return overlib(\''.$popupcontent.'\', CAPTION, \''.$popupcaption.'\');" onmouseout="return nd();"'; // Class and cell content -- 2.39.5