Last change
on this file since 15894 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
|
Rev | Line | |
---|
[721] | 1 | package webpageutil;
|
---|
| 2 |
|
---|
[1010] | 3 | use ghtml;
|
---|
[15894] | 4 | use strict;
|
---|
[721] | 5 |
|
---|
| 6 | sub error_location
|
---|
| 7 | {
|
---|
| 8 | my ($args,$text) = @_;
|
---|
| 9 |
|
---|
[1010] | 10 | &ghtml::urlsafe($text);
|
---|
[721] | 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 |
|
---|
[1010] | 19 | &ghtml::urlsafe($text);
|
---|
[721] | 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.