|
From: Benjamin C. <bc...@us...> - 2002-09-16 19:04:40
|
Update of /cvsroot/phpbt/phpbt/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv29716/templates/default
Modified Files:
bugform.html newaccount.html
Log Message:
Changing htmlentities to htmlspecialchars
Index: bugform.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/bugform.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- bugform.html 17 Jun 2002 15:08:56 -0000 1.7
+++ bugform.html 16 Sep 2002 19:04:35 -0000 1.8
@@ -18,11 +18,11 @@
</tr><tr>
<td align="right" valign="top">{$STRING.BUGFORM.Summary}:</td>
<td><input type="text" size="50" maxlength="100" name="title"
- value="{$title|stripslashes|htmlentities}"></td>
+ value="{$title|stripslashes|htmlspecialchars}"></td>
</tr><tr>
<td align="right" valign="top">{$STRING.BUGFORM.Description}:</td>
<td><textarea name="description" cols="50" rows="8"
- wrap=virtual>{$description|stripslashes|htmlentities}</textarea></td>
+ wrap=virtual>{$description|stripslashes|htmlspecialchars}</textarea></td>
</tr><tr>
<td align="right" valign="top">URL:</td>
<td><input type="text" size="30" maxlength="255" name="url" value="{$url}"></td>
Index: newaccount.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/newaccount.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- newaccount.html 18 May 2002 03:00:50 -0000 1.6
+++ newaccount.html 16 Sep 2002 19:04:36 -0000 1.7
@@ -11,24 +11,24 @@
<tr>
<td align="right">Login: </td>
<td>
- <input type="text" name="login" value="{$smarty.post.login|stripslashes|htmlentities}">
+ <input type="text" name="login" value="{$smarty.post.login|stripslashes|htmlspecialchars}">
</td>
</tr>
{/if}
<tr>
<td align="right">Email: </td>
- <td><input type="text" name="email" value="{$smarty.post.email|stripslashes|htmlentities}"></td>
+ <td><input type="text" name="email" value="{$smarty.post.email|stripslashes|htmlspecialchars}"></td>
</tr>
<tr>
<td align="right">First Name (optional):</td>
<td>
- <input type="text" name="firstname" value="{$smarty.post.firstname|stripslashes|htmlentities}">
+ <input type="text" name="firstname" value="{$smarty.post.firstname|stripslashes|htmlspecialchars}">
</td>
</tr>
<tr>
<td align="right">Last Name (optional):</td>
<td>
- <input type="text" name="lastname" value="{$smarty.post.lastname|stripslashes|htmlentities}">
+ <input type="text" name="lastname" value="{$smarty.post.lastname|stripslashes|htmlspecialchars}">
</td>
</tr>
</table>
|