From: Philippe M. <phi...@us...> - 2003-03-27 16:48:21
|
Update of /cvsroot/squirrelmail/squirrelmail/plugins/calendar In directory sc8-pr-cvs1:/tmp/cvs-serv13396/plugins/calendar Modified Files: calendar_data.php event_create.php Log Message: Masato Higashiyama japanese patch. Index: calendar_data.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/calendar/calendar_data.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -w -r1.6 -r1.7 --- calendar_data.php 23 Jan 2003 20:57:39 -0000 1.6 +++ calendar_data.php 27 Mar 2003 16:47:44 -0000 1.7 @@ -35,8 +35,8 @@ while ($fdata = fgetcsv ($fp, 4096, '|')) { $calendardata[$fdata[0]][$fdata[1]] = array( 'length' => $fdata[2], 'priority' => $fdata[3], - 'title' => htmlentities($fdata[4],ENT_NOQUOTES), - 'message' => htmlentities($fdata[5],ENT_NOQUOTES), + 'title' => htmlspecialchars($fdata[4],ENT_NOQUOTES), + 'message' => htmlspecialchars($fdata[5],ENT_NOQUOTES), 'reminder' => $fdata[6] ); } fclose ($fp); Index: event_create.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/calendar/event_create.php,v retrieving revision 1.15 retrieving revision 1.16 diff -u -w -r1.15 -r1.16 --- event_create.php 23 Jan 2003 20:57:39 -0000 1.15 +++ event_create.php 27 Mar 2003 16:47:45 -0000 1.16 @@ -186,11 +186,11 @@ ) . 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', |