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