SF.net SVN: postfixadmin: [387] trunk/templates/edit-vacation.php
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2008-06-17 21:25:02
|
Revision: 387 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=387&view=rev Author: GingerDog Date: 2008-06-17 14:25:09 -0700 (Tue, 17 Jun 2008) Log Message: ----------- templates/edit-vacation.php: unquote ' before display - see https://sourceforge.net/tracker/index.php?func=detail&aid=1995119&group_id=191583&atid=937966 - thanks (again) to Beuc; I presume subject also needs stripslashes on it Modified Paths: -------------- trunk/templates/edit-vacation.php Modified: trunk/templates/edit-vacation.php =================================================================== --- trunk/templates/edit-vacation.php 2008-06-17 21:19:44 UTC (rev 386) +++ trunk/templates/edit-vacation.php 2008-06-17 21:25:09 UTC (rev 387) @@ -20,12 +20,12 @@ </tr> <tr> <td><?php print $PALANG['pUsersVacation_subject'] . ":"; ?></td> - <td><textarea class="flat" cols="60" name="fSubject" ><?php print htmlentities($tSubject, ENT_QUOTES, 'UTF-8'); ?></textarea></td> + <td><textarea class="flat" cols="60" name="fSubject" ><?php print htmlentities(stripslashes($tSubject), ENT_QUOTES, 'UTF-8'); ?></textarea></td> <td> </td> </tr> <tr> <td><?php print $PALANG['pUsersVacation_body'] . ":"; ?></td> - <td><textarea class="flat" rows="10" cols="60" name="fBody" ><?php print htmlentities($tBody, ENT_QUOTES , 'UTF-8'); ?></textarea></td> + <td><textarea class="flat" rows="10" cols="60" name="fBody" ><?php print htmlentities(stripslashes($tBody), ENT_QUOTES , 'UTF-8'); ?></textarea></td> <td> </td> </tr> <tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |