PATCH: cgi-bin/gnatsweb.pl
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Sat Feb 3 04:06:00 GMT 2001
In preparation of a patch to come, I reverted revisions 1.8 to 1.10 of
gnatsweb.pl.
Gerald
Index: gnatsweb.pl
===================================================================
RCS file: /cvs/gcc/wwwdocs/cgi-bin/gnatsweb.pl,v
retrieving revision 1.7
retrieving revision 1.10
diff -u -3 -p -r1.7 -r1.10
--- gnatsweb.pl 2000/05/11 07:00:34 1.7
+++ gnatsweb.pl 2000/07/04 09:03:52 1.10
@@ -2894,8 +2894,7 @@ delCookie("gnatsweb-test-cookie");
if (val == null) {
document.write("<h2>Warning: your browser is not accepting cookies</h2>"
+ "Gnatsweb requires cookies to keep track of your login and other "
- + "information. Please enable cookies before pressing the "
- + "<tt>login</tt> button.");
+ + "information. Please enable cookies before logging in.");
}
//-->
@@ -2929,7 +2928,11 @@ sub login_page
# are not really needed; use the username as the default.
my $def_password = $db_prefs{'password'} || $ENV{'REMOTE_USER'};
print $q->start_form(),
- "<p>Use username '<b>guest</b>' and password '<b>guest</b>' for read-only and bug reporting access.",
+ "<p>Use username '<b>guest</b>' and password '<b>guest</b>' for".
+ " read-only and bug reporting access.",
+ " Unfortunately, GNATSweb requires cookies to keep track".
+ " of your login and other information. Please enable cookies".
+ " before logging in.",
"<table>",
"<tr><td>User Name:<td>",
$q->textfield(-name=>'user',
More information about the Gcc-patches
mailing list