diff options
author | terry%mozilla.org <> | 2000-01-15 07:35:24 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 2000-01-15 07:35:24 +0100 |
commit | 5eee338175a2f2bf78290ad4154639a2972077ee (patch) | |
tree | 2b407e5c7fb1bdd8fe26820c9e5e81775b784b0f /editproducts.cgi | |
parent | 5c232e771356b52b3acb962e258ccf83c792f68c (diff) | |
download | bugzilla-5eee338175a2f2bf78290ad4154639a2972077ee.tar.gz bugzilla-5eee338175a2f2bf78290ad4154639a2972077ee.tar.xz |
Patch by Ramon Felciano <felciano@ingenuity.com>, with many tweaks by
me. Added a footer to every page. Add some options to do things like
display checkboxes instead of scrolling lists, and a new formatting
for email diffs, and show list items capitalized instead of all upper
case.
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editproducts.cgi b/editproducts.cgi index 71177c346..f3c1bbabd 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -129,7 +129,7 @@ sub PutTrailer (@) } $num++; } - print "</BODY>\n</HTML>\n"; + PutFooter(); } @@ -637,8 +637,8 @@ if ($action eq 'update') { if ($description ne $descriptionold) { unless ($description) { print "Sorry, I can't delete the description."; - PutTrailer($localtrailer); SendSQL("UNLOCK TABLES"); + PutTrailer($localtrailer); exit; } SendSQL("UPDATE products @@ -665,14 +665,14 @@ if ($action eq 'update') { if ($product ne $productold) { unless ($product) { print "Sorry, I can't delete the product name."; - PutTrailer($localtrailer); SendSQL("UNLOCK TABLES"); + PutTrailer($localtrailer); exit; } if (TestProduct($product)) { print "Sorry, product name '$product' is already in use."; - PutTrailer($localtrailer); SendSQL("UNLOCK TABLES"); + PutTrailer($localtrailer); exit; } |