X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fcalendar%2Fday.php;h=7926607b7593c026b06293ab5a0e8b8e5a060966;hb=821d1f1424ce74d60ae3b6e357a148658f17424e;hp=4ed29b82b8d0615188b5d6f19a1f6229b17bb23c;hpb=30460a05016c7e066ad7b28df7788539e4054a99;p=squirrelmail.git diff --git a/plugins/calendar/day.php b/plugins/calendar/day.php index 4ed29b82..7926607b 100644 --- a/plugins/calendar/day.php +++ b/plugins/calendar/day.php @@ -3,7 +3,7 @@ /** * Displays the day page (day view). * - * @copyright 2002-2009 The SquirrelMail Project Team + * @copyright 2002-2012 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -127,9 +127,9 @@ function display_events() { html_tag( 'td', date_intl(_("H:i"),mktime($ehour,$eminute,0,1,1,0)) . $elength, 'left' ) . html_tag( 'td', '', 'left' ) . '['; echo ($calbar['priority']==1) ? - "".htmlspecialchars($calbar['title']).'' : - htmlspecialchars($calbar['title']); - echo']
'.nl2br(htmlspecialchars($calbar['message'])).'
' . + "".sm_encode_html_special_chars($calbar['title']).'' : + sm_encode_html_special_chars($calbar['title']); + echo']
'.nl2br(sm_encode_html_special_chars($calbar['message'])).'
' . html_tag( 'td', "\n" . "