|
From: Benjamin C. <bc...@us...> - 2002-09-16 19:04:39
|
Update of /cvsroot/phpbt/phpbt/templates/default/admin
In directory usw-pr-cvs1:/tmp/cvs-serv29716/templates/default/admin
Modified Files:
component-edit.html group-edit.html project-add.html
project-edit.html resolution-edit.html severity-edit.html
status-edit.html user-edit.html version-edit.html
Log Message:
Changing htmlentities to htmlspecialchars
Index: component-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/component-edit.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- component-edit.html 18 May 2002 03:00:50 -0000 1.4
+++ component-edit.html 16 Sep 2002 19:04:30 -0000 1.5
@@ -12,7 +12,7 @@
Name:
</td>
<td valign="top">
- <input type="text" name="component_name" value="{$component_name|stripslashes|htmlentities}">
+ <input type="text" name="component_name" value="{$component_name|stripslashes|htmlspecialchars}">
</td>
</tr>
<tr>
@@ -20,7 +20,7 @@
Description:
</td>
<td valign="top">
- <textarea name="component_desc" cols="40" rows="10">{$component_desc|stripslashes|htmlentities}</textarea>
+ <textarea name="component_desc" cols="40" rows="10">{$component_desc|stripslashes|htmlspecialchars}</textarea>
</td>
</tr>
<tr>
Index: group-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/group-edit.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- group-edit.html 18 May 2002 03:00:50 -0000 1.3
+++ group-edit.html 16 Sep 2002 19:04:30 -0000 1.4
@@ -11,7 +11,7 @@
{/if}
<tr>
<td align="right" valign="top">Name:</td>
- <td><input type="text" size="20" maxlength="40" name="group_name" value="{$group_name|stripslashes|htmlentities}"></td>
+ <td><input type="text" size="20" maxlength="40" name="group_name" value="{$group_name|stripslashes|htmlspecialchars}"></td>
</tr>
</table>
<br>
Index: project-add.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/project-add.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- project-add.html 18 May 2002 03:00:50 -0000 1.4
+++ project-add.html 16 Sep 2002 19:04:31 -0000 1.5
@@ -16,14 +16,14 @@
<td valign="top">
Name:
<br>
- <input type="text" size="30" maxlength="30" name="project_name" value="{$project_name|stripslashes|htmlentities}">
+ <input type="text" size="30" maxlength="30" name="project_name" value="{$project_name|stripslashes|htmlspecialchars}">
</td>
</tr>
<tr>
<td valign="top">
Description:
<br>
- <textarea name="project_desc" cols=40 rows=5 wrap=virtual>{$project_desc|stripslashes|htmlentities}</textarea>
+ <textarea name="project_desc" cols=40 rows=5 wrap=virtual>{$project_desc|stripslashes|htmlspecialchars}</textarea>
</td>
</tr>
<tr>
@@ -48,7 +48,7 @@
<td valign="top">
Initial Version:
<br>
- <input type="text" size="30" maxlength="30" name="version_name" value="{$version_name|stripslashes|htmlentities}">
+ <input type="text" size="30" maxlength="30" name="version_name" value="{$version_name|stripslashes|htmlspecialchars}">
</td>
</tr>
</table>
@@ -68,14 +68,14 @@
<td valign="top">
Initial Component Name:
<br>
- <input type="text" size="30" maxlength="30" name="component_name" value="{$component_name|stripslashes|htmlentities}">
+ <input type="text" size="30" maxlength="30" name="component_name" value="{$component_name|stripslashes|htmlspecialchars}">
</td>
</tr>
<tr>
<td valign="top">
Description:
<br>
- <textarea name="component_desc" cols="30">{$component_desc|stripslashes|htmlentities}</textarea>
+ <textarea name="component_desc" cols="30">{$component_desc|stripslashes|htmlspecialchars}</textarea>
</td>
</tr>
<tr>
Index: project-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/project-edit.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- project-edit.html 18 May 2002 03:00:50 -0000 1.10
+++ project-edit.html 16 Sep 2002 19:04:31 -0000 1.11
@@ -3,7 +3,7 @@
var me = '{$smarty.server.PHP_SELF}';
var projectId = '{$project_id}';
{literal}
-
+
function popupComponent(id) {
window.open(me + '?op=edit_component&project_id='+projectId+'&use_js=1&id='+id, 'ewin', 'dependent=yes,width=450,height=300,scrollbars=1');
return false;
@@ -30,7 +30,7 @@
<td valign="top" width="360">
Name:
<br>
- <input type="text" size="30" maxlength="30" name="project_name" value="{$project_name|stripslashes|htmlentities}">
+ <input type="text" size="30" maxlength="30" name="project_name" value="{$project_name|stripslashes|htmlspecialchars}">
</td>
<td valign="top" rowspan="3">
Only users in the following groups can see this project:
@@ -44,7 +44,7 @@
<td valign="top">
Description:
<br>
- <textarea name="project_desc" cols=40 rows=5 wrap=virtual>{$project_desc|stripslashes|htmlentities}</textarea>
+ <textarea name="project_desc" cols=40 rows=5 wrap=virtual>{$project_desc|stripslashes|htmlspecialchars}</textarea>
</td>
</tr>
<tr>
Index: resolution-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/resolution-edit.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- resolution-edit.html 18 May 2002 03:00:50 -0000 1.3
+++ resolution-edit.html 16 Sep 2002 19:04:32 -0000 1.4
@@ -11,11 +11,11 @@
{/if}
<tr>
<td align="right" valign="top">Name:</td>
- <td><input type="text" size="20" maxlength="40" name="resolution_name" value="{$resolution_name|stripslashes|htmlentities}"></td>
+ <td><input type="text" size="20" maxlength="40" name="resolution_name" value="{$resolution_name|stripslashes|htmlspecialchars}"></td>
</tr>
<tr>
<td align="right" valign="top">Description:</td>
- <td><textarea name="resolution_desc" cols=20 rows=5 wrap=virtual>{$resolution_desc|stripslashes|htmlentities}</textarea></td>
+ <td><textarea name="resolution_desc" cols=20 rows=5 wrap=virtual>{$resolution_desc|stripslashes|htmlspecialchars}</textarea></td>
</tr>
<tr>
<td align="right" valign="top">Sort Order:</td>
Index: severity-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/severity-edit.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- severity-edit.html 18 May 2002 03:00:50 -0000 1.3
+++ severity-edit.html 16 Sep 2002 19:04:33 -0000 1.4
@@ -11,11 +11,11 @@
{/if}
<tr>
<td align="right" valign="top">Name:</td>
- <td><input type="text" size="20" maxlength="40" name="severity_name" value="{$severity_name|stripslashes|htmlentities}"></td>
+ <td><input type="text" size="20" maxlength="40" name="severity_name" value="{$severity_name|stripslashes|htmlspecialchars}"></td>
</tr>
<tr>
<td align="right" valign="top">Description:</td>
- <td><textarea name="severity_desc" cols=20 rows=5 wrap=virtual>{$severity_desc|stripslashes|htmlentities}</textarea></td>
+ <td><textarea name="severity_desc" cols=20 rows=5 wrap=virtual>{$severity_desc|stripslashes|htmlspecialchars}</textarea></td>
</tr>
<tr>
<td align="right" valign="top">Sort Order:</td>
Index: status-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/status-edit.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- status-edit.html 18 May 2002 03:00:50 -0000 1.3
+++ status-edit.html 16 Sep 2002 19:04:34 -0000 1.4
@@ -11,11 +11,11 @@
{/if}
<tr>
<td align="right" valign="top">Name:</td>
- <td><input type="text" size="20" maxlength="40" name="status_name" value="{$status_name|stripslashes|htmlentities}"></td>
+ <td><input type="text" size="20" maxlength="40" name="status_name" value="{$status_name|stripslashes|htmlspecialchars}"></td>
</tr>
<tr>
<td align="right" valign="top">Description:</td>
- <td><textarea name="status_desc" cols=20 rows=5 wrap=virtual>{$status_desc|stripslashes|htmlentities}</textarea></td>
+ <td><textarea name="status_desc" cols=20 rows=5 wrap=virtual>{$status_desc|stripslashes|htmlspecialchars}</textarea></td>
</tr>
<tr>
<td align="right" valign="top">Sort Order:</td>
Index: user-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/user-edit.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- user-edit.html 18 May 2002 03:00:50 -0000 1.2
+++ user-edit.html 16 Sep 2002 19:04:34 -0000 1.3
@@ -2,11 +2,11 @@
<!--
var hadAdmin = {$hadadmin};
var numAdmins = {$numadmins};
-
+
{literal}
function checkAdmin(slct) {
var adminSelected = false;
-
+
if (hadAdmin && numAdmins == 1) {
for (current = 0; current < slct.options.length; current++ ) {
if (slct.options[current].selected && slct.options[current].value == 1) {
@@ -45,11 +45,11 @@
</tr>
<tr>
<td align="right" valign="top">FirstName:</td>
- <td><input type="text" size="20" maxlength="40" name="first_name" value="{$first_name|stripslashes|htmlentities}"></td>
+ <td><input type="text" size="20" maxlength="40" name="first_name" value="{$first_name|stripslashes|htmlspecialchars}"></td>
</tr>
<tr>
<td align="right" valign="top">LastName:</td>
- <td><input type="text" size="20" maxlength="40" name="last_name" value="{$last_name|stripslashes|htmlentities}"></td>
+ <td><input type="text" size="20" maxlength="40" name="last_name" value="{$last_name|stripslashes|htmlspecialchars}"></td>
</tr>
<tr>
<td align="right" valign="top">Password:</td>
Index: version-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/version-edit.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- version-edit.html 18 May 2002 03:00:51 -0000 1.4
+++ version-edit.html 16 Sep 2002 19:04:34 -0000 1.5
@@ -12,7 +12,7 @@
Name:
</td>
<td valign="top">
- <input type="text" name="version_name" value="{$version_name|stripslashes|htmlentities}">
+ <input type="text" name="version_name" value="{$version_name|stripslashes|htmlspecialchars}">
</td>
</tr>
<tr>
@@ -30,4 +30,4 @@
</tr>
</table>
</form>
-
+
|