summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2003-12-10 10:31:24 +0100
committerjocuri%softhome.net <>2003-12-10 10:31:24 +0100
commita68d8e889aa22f82315c7106bf5ed27d6de2365b (patch)
tree721a0cd785c11d6a310e9f9062fbe14ce954210a /template
parentbcccebe2c5955d122ce193bf3c2e4a9335e98788 (diff)
downloadbugzilla-a68d8e889aa22f82315c7106bf5ed27d6de2365b.tar.gz
bugzilla-a68d8e889aa22f82315c7106bf5ed27d6de2365b.tar.xz
Bug 227979: Editkeywords.cgi HTML validation; r=kiko; a=justdave.
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/en/default/admin/keywords/create.html.tmpl2
-rwxr-xr-xtemplate/en/default/admin/keywords/edit.html.tmpl2
-rwxr-xr-xtemplate/en/default/admin/keywords/list.html.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/admin/keywords/create.html.tmpl b/template/en/default/admin/keywords/create.html.tmpl
index 6811b9997..d7ff49039 100755
--- a/template/en/default/admin/keywords/create.html.tmpl
+++ b/template/en/default/admin/keywords/create.html.tmpl
@@ -31,7 +31,6 @@
<form method="post" action="editkeywords.cgi">
<table border="0" cellpadding="4" cellspacing="0">
- <input type="hidden" name="id" value="-1">
<tr>
<th align="right">Name:</th>
<td><input size="64" maxlength="64" name="name" value=""></td>
@@ -45,6 +44,7 @@
</tr>
</table>
<hr>
+ <input type="hidden" name="id" value="-1">
<input type="submit" value="Add">
<input type="hidden" name="action" value="new">
</form>
diff --git a/template/en/default/admin/keywords/edit.html.tmpl b/template/en/default/admin/keywords/edit.html.tmpl
index 2f84e147a..46479b497 100755
--- a/template/en/default/admin/keywords/edit.html.tmpl
+++ b/template/en/default/admin/keywords/edit.html.tmpl
@@ -35,7 +35,6 @@
<form method="post" action="editkeywords.cgi">
<table border="0" cellpadding="4" cellspacing="0">
- <input type="hidden" name="id" value="[% keyword_id %]">
<tr>
<th align="right">Name:</th>
<td><input size="64" maxlength="64" name="name" value="[% name FILTER html %]"></td>
@@ -61,6 +60,7 @@
<input type="submit" value="Update">
<input type="hidden" name="action" value="update">
+ <input type="hidden" name="id" value="[% keyword_id %]">
</form>
<p><a href="editkeywords.cgi">Edit other keywords</a>.</p>
diff --git a/template/en/default/admin/keywords/list.html.tmpl b/template/en/default/admin/keywords/list.html.tmpl
index e1f6eefbd..ad403a8b0 100755
--- a/template/en/default/admin/keywords/list.html.tmpl
+++ b/template/en/default/admin/keywords/list.html.tmpl
@@ -87,7 +87,7 @@
<tr>
<td valign="top" colspan="3">Add a new keyword</td>
- <td><a href="editkeywords.cgi?action=add">Add</td>
+ <td><a href="editkeywords.cgi?action=add">Add</a></td>
</tr>
[% PROCESS table_footer %]