]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 227979: Editkeywords.cgi HTML validation; r=kiko; a=justdave.
authorjocuri%softhome.net <>
Wed, 10 Dec 2003 09:31:24 +0000 (09:31 +0000)
committerjocuri%softhome.net <>
Wed, 10 Dec 2003 09:31:24 +0000 (09:31 +0000)
template/en/default/admin/keywords/create.html.tmpl
template/en/default/admin/keywords/edit.html.tmpl
template/en/default/admin/keywords/list.html.tmpl

index 6811b99971a1d4f4960d2b7b7cc9a67ceee6bb7a..d7ff49039279612ab272383af08c830bb28f6085 100755 (executable)
@@ -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>
index 2f84e147a10d2086d894fcee14e6bb9e9b5306a3..46479b497f4a3325a7474b97ef50057f67213e0e 100755 (executable)
@@ -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>
index e1f6eefbd15ef2e70e3bf6beb5fb19cc3543ec50..ad403a8b0f8c65e1c0d029e92b4353423d05f9f5 100755 (executable)
@@ -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 %]