From 5eee338175a2f2bf78290ad4154639a2972077ee Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Sat, 15 Jan 2000 06:35:24 +0000 Subject: Patch by Ramon Felciano , 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. --- editproducts.cgi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'editproducts.cgi') 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 "\n\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; } -- cgit v1.2.3-24-g4f1b