diff options
author | jocuri%softhome.net <> | 2003-12-10 09:31:24 +0000 |
---|---|---|
committer | jocuri%softhome.net <> | 2003-12-10 09:31:24 +0000 |
commit | a68d8e889aa22f82315c7106bf5ed27d6de2365b (patch) | |
tree | 721a0cd785c11d6a310e9f9062fbe14ce954210a | |
parent | bcccebe2c5955d122ce193bf3c2e4a9335e98788 (diff) | |
download | bugs-a68d8e889aa22f82315c7106bf5ed27d6de2365b.tar bugs-a68d8e889aa22f82315c7106bf5ed27d6de2365b.tar.gz bugs-a68d8e889aa22f82315c7106bf5ed27d6de2365b.tar.bz2 bugs-a68d8e889aa22f82315c7106bf5ed27d6de2365b.tar.xz bugs-a68d8e889aa22f82315c7106bf5ed27d6de2365b.zip |
Bug 227979: Editkeywords.cgi HTML validation; r=kiko; a=justdave.
-rwxr-xr-x | template/en/default/admin/keywords/create.html.tmpl | 2 | ||||
-rwxr-xr-x | template/en/default/admin/keywords/edit.html.tmpl | 2 | ||||
-rwxr-xr-x | template/en/default/admin/keywords/list.html.tmpl | 2 |
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 %] |