Last change
on this file since 24626 was 24626, checked in by jmt12, 13 years ago |
An (almost) complete copy of the perllib directory from a (circa SEP2011) head checkout from Greenstone 2 trunk - in order to try and make merging in this extension a little easier later on (as there have been some major changes to buildcol.pl commited in the main trunk but not in the x64 branch)
|
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.