summaryrefslogtreecommitdiffstats
path: root/editkeywords.cgi
diff options
context:
space:
mode:
authorkiko%async.com.br <>2003-09-27 08:47:07 +0200
committerkiko%async.com.br <>2003-09-27 08:47:07 +0200
commit86559d4282d5dfaceab273ac2faf42dbcca8226b (patch)
treecbc887a7274b342df5c0d8ea1e369fc7568413f1 /editkeywords.cgi
parent58cee6fc901915d1f79e4fbeb1840e6a3421fc0d (diff)
downloadbugzilla-86559d4282d5dfaceab273ac2faf42dbcca8226b.tar.gz
bugzilla-86559d4282d5dfaceab273ac2faf42dbcca8226b.tar.xz
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 <jocuri@softhome.net>, r=kiko, a=justdave
Diffstat (limited to 'editkeywords.cgi')
-rwxr-xr-xeditkeywords.cgi7
1 files changed, 6 insertions, 1 deletions
diff --git a/editkeywords.cgi b/editkeywords.cgi
index 8ef11aee0..073dfbb9d 100755
--- a/editkeywords.cgi
+++ b/editkeywords.cgi
@@ -30,6 +30,10 @@ my $localtrailer = "<A HREF=\"editkeywords.cgi\">edit</A> 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.<p>\n";
- PutTrailer("<A HREF=\"editkeywords.cgi\">edit</A> more keywords or <A HREF=\"editkeywords.cgi?action=add\">add</a> another keyword");
+ PutTrailer("<a href=\"editkeywords.cgi\">edit</a> more keywords",
+ "<a href=\"editkeywords.cgi?action=add\">add</a> another keyword");
exit;
}