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 --- editkeywords.cgi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'editkeywords.cgi') diff --git a/editkeywords.cgi b/editkeywords.cgi index 8ef11aee0..073dfbb9d 100755 --- a/editkeywords.cgi +++ b/editkeywords.cgi @@ -30,6 +30,10 @@ my $localtrailer = "edit more keywords"; # # 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 (@) @@ -242,7 +246,8 @@ if ($action eq 'new') { unlink "data/versioncache"; print "OK, done.

\n"; - PutTrailer("edit more keywords or add another keyword"); + PutTrailer("edit more keywords", + "add another keyword"); exit; } -- cgit v1.2.3-24-g4f1b