Last change
on this file since 10452 was 1010, checked in by sjboddie, 24 years ago |
renamed old html module ghtml -- it clashed with builtin html module
on windows
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
518 bytes
|
Rev | Line | |
---|
[721] | 1 | package webpageutil;
|
---|
| 2 |
|
---|
[1010] | 3 | use ghtml;
|
---|
[721] | 4 |
|
---|
| 5 | sub error_location
|
---|
| 6 | {
|
---|
| 7 | my ($args,$text) = @_;
|
---|
| 8 |
|
---|
[1010] | 9 | &ghtml::urlsafe($text);
|
---|
[721] | 10 | my $mess_url = "$args->{'httpbuild'}&bca=mess&head=_headerror_";
|
---|
| 11 | print "Location: $mess_url&mess=$text\n\n";
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | sub status_location
|
---|
| 15 | {
|
---|
| 16 | my ($args,$text,$tmpname,$bc1finished) = @_;
|
---|
| 17 |
|
---|
[1010] | 18 | &ghtml::urlsafe($text);
|
---|
[721] | 19 | my $mess_url = "$args->{'httpbuild'}&bca=buildstatus";
|
---|
| 20 | $mess_url .= "&bc1tmpfilename=$tmpname&bc1finished=$bc1finished";
|
---|
| 21 | print "Location: $mess_url&mess=$text\n\n";
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | 1;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.