X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fcalendar%2Fevent_create.php;h=e09a63a6648af147074cb74d3f822019e8023fc9;hb=d1a71ec750a194047db3338cf0b833983c2c41ff;hp=8cf9b06cccd47187a6db9d40af40436929fa41d5;hpb=94e0aaf97cb0617bac2f7efc543beddab98e96b0;p=squirrelmail.git diff --git a/plugins/calendar/event_create.php b/plugins/calendar/event_create.php index 8cf9b06c..e09a63a6 100644 --- a/plugins/calendar/event_create.php +++ b/plugins/calendar/event_create.php @@ -3,7 +3,7 @@ /** * event_create.php * - * Copyright (c) 2002-2003 The SquirrelMail Project Team + * Copyright (c) 2002-2004 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Originally contrubuted by Michal Szczotka @@ -11,6 +11,12 @@ * functions to create a event for calendar. * * $Id$ + * @package plugins + * @subpackage calendar + */ + +/** + * @ignore */ define('SM_PATH','../../'); @@ -186,11 +192,11 @@ if(!isset($event_text)){ ) . html_tag( 'tr', html_tag( 'td', _("Title:"), 'right', $color[4] ) . "\n" . - html_tag( 'td', htmlentities($event_title,ENT_NOQUOTES), 'left', $color[4] ) . "\n" + html_tag( 'td', htmlspecialchars($event_title,ENT_NOQUOTES), 'left', $color[4] ) . "\n" ) . html_tag( 'tr', html_tag( 'td', _("Message:"), 'right', $color[4] ) . "\n" . - html_tag( 'td', htmlentities($event_text,ENT_NOQUOTES), 'left', $color[4] ) . "\n" + html_tag( 'td', htmlspecialchars($event_text,ENT_NOQUOTES), 'left', $color[4] ) . "\n" ) . html_tag( 'tr', html_tag( 'td',