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 --- editcomponents.cgi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'editcomponents.cgi') diff --git a/editcomponents.cgi b/editcomponents.cgi index 018c89cdf..539da47a5 100755 --- a/editcomponents.cgi +++ b/editcomponents.cgi @@ -151,6 +151,10 @@ sub EmitFormElements ($$$$$) # # Displays a text like "a.", "a or b.", "a, b or c.", "a, b, c or d." +# +# XXX This implementation of PutTrailer outputs a default link back to the +# query page instead of the index, which is inconsistent with other +# PutTrailer() implementations. # sub PutTrailer (@) @@ -475,9 +479,14 @@ if ($action eq 'new') { print "OK, done.

\n"; if ($product) { - PutTrailer("edit more components or Add another component"); + PutTrailer("edit more components", + "add another component"); } else { - PutTrailer("edit more components or Add another component"); + PutTrailer("edit more components", + "add" . + "another component"); } exit; } -- cgit v1.2.3-24-g4f1b