From 86559d4282d5dfaceab273ac2faf42dbcca8226b Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Sat, 27 Sep 2003 06:47:07 +0000 Subject: Bug 65316: Typos on edit*.cgi. Change use of PutTrailer() (and the default output, in certain cases) in the edit pages. Patch by Vlad Dascalu , r=kiko, a=justdave --- editgroups.cgi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'editgroups.cgi') diff --git a/editgroups.cgi b/editgroups.cgi index a283d0501..e793f296a 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -73,7 +73,7 @@ sub ShowError ($) sub PutTrailer (@) { - my (@links) = ("Back to the Main Bugs Page", @_); + my (@links) = ("Back to the index", @_); my $count = $#links; my $num = 0; @@ -271,7 +271,7 @@ if ($action eq 'changeform') { - PutTrailer("Back to group list"); + PutTrailer("back to the group list"); exit; } @@ -326,7 +326,7 @@ probably want it to be usable for bugs, in which case you should leave this chec print "products\" option will prevent this and make the group become "; print "visible only when its controls have been added to a product.

\n"; - PutTrailer("Back to the group list"); + PutTrailer("back to the group list"); exit; } @@ -409,8 +409,8 @@ if ($action eq 'new') { "FROM products"); } print "OK, done.

\n"; - PutTrailer("Add another group", - "Back to the group list"); + PutTrailer("add another group", + "back to the group list"); exit; } @@ -558,9 +558,9 @@ if ($action eq 'delete') { "records in the database which refer to it. All such records " . "must be removed or altered to remove the reference to this " . "group before the group can be deleted."); - print "" . - "View the list of which records are affected
"; - PutTrailer("Back to group list"); + print "" . + "View the list of which records are affected.
"; + PutTrailer("back to the group list"); exit; } @@ -572,7 +572,7 @@ if ($action eq 'delete') { print "Group $gid has been deleted.
"; - PutTrailer("Back to group list"); + PutTrailer("back to the group list"); exit; } @@ -666,7 +666,7 @@ if ($action eq 'postchanges') { SendSQL("UPDATE groups SET last_changed = NOW() WHERE id = $gid"); print "Done.

\n"; } - PutTrailer("Back to the group list"); + PutTrailer("back to the group list"); exit; } -- cgit v1.2.3-24-g4f1b