X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fcalendar%2Fcalendar.php;h=e6ed9e7d5b07f00a21e042c8f6161f9923d2dea3;hp=03516bdaf0ec5fba2d1a0bfea7076a8aa6468ea7;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hpb=d4e46166df04792c6b939356ea5dfda8e47bba7b;ds=sidebyside diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php index 03516bda..e6ed9e7d 100644 --- a/plugins/calendar/calendar.php +++ b/plugins/calendar/calendar.php @@ -3,7 +3,7 @@ /** * Displays the main calendar page (month view). * - * @copyright © 2002-2009 The SquirrelMail Project Team + * @copyright 2002-2018 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -114,11 +114,11 @@ function drawmonthview() { $calbar = $calendardata[$cdate][$calfoo['key']]; // FIXME: how to display multiline task $title = '['. $calfoo['key']. '] ' . - str_replace(array("\r","\n"),array(' ',' '),htmlspecialchars($calbar['message'])); + str_replace(array("\r","\n"),array(' ',' '),sm_encode_html_special_chars($calbar['message'])); // FIXME: link to nowhere echo "".htmlspecialchars($calbar['title'])."
\n"; + ."\" title=\"$title\">".sm_encode_html_special_chars($calbar['title'])."
\n"; $i=$i+1; if($i==2){ break;