[Bio] / FigWebServices / ShowPage.cgi Repository:
ViewVC logotype

Annotation of /FigWebServices/ShowPage.cgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (view) (download)

1 : parrello 1.1 #!/usr/bin/perl -w
2 : olson 1.2 #
3 :     # Copyright (c) 2003-2006 University of Chicago and Fellowship
4 :     # for Interpretations of Genomes. All Rights Reserved.
5 :     #
6 :     # This file is part of the SEED Toolkit.
7 :     #
8 :     # The SEED Toolkit is free software. You can redistribute
9 :     # it and/or modify it under the terms of the SEED Toolkit
10 :     # Public License.
11 :     #
12 :     # You should have received a copy of the SEED Toolkit Public License
13 :     # along with this program; if not write to the University of Chicago
14 :     # at info@ci.uchicago.edu or the Fellowship for Interpretation of
15 :     # Genomes at veronika@thefig.info or download a copy from
16 :     # http://www.theseed.org/LICENSE.TXT.
17 :     #
18 :    
19 : parrello 1.1
20 :     # This module simply displays a page. The page location is given by the directory location
21 :     # in the form variable "Path", and the file name in the form variable "DocMenu".
22 :    
23 :     use strict;
24 :     use CGI;
25 :    
26 :     # Get the form parameters.
27 :     my $query = new CGI;
28 :     # Form the target URL.
29 :     my $target = $query->param('Path') . $query->param('DocMenu');
30 :     # Redirect to it.
31 :     print "CONTENT-TYPE: text/html\n";
32 :     print "LOCATION: $target\n\n";
33 :    
34 :     1;

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3