X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fcalendar%2Fcalendar.php;h=af6d95b19591e00bc757d502e5684424a63d81b7;hb=5e5daa47f6270e55903f95fb3deff491fde2d6f5;hp=17426e63ac9f7dd1fee2bc1568f64d00fe61baeb;hpb=30460a05016c7e066ad7b28df7788539e4054a99;p=squirrelmail.git diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php index 17426e63..af6d95b1 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-2015 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;