3 # First of all, let's load HELM configuration
5 my $HELM_LIB_DIR = $ENV{"HELM_LIB_DIR"};
6 # this should be the only fixed constant
7 my $DEFAULT_HELM_LIB_DIR = "/projects/helm/on-line/local/lib/helm";
8 if (defined ($HELM_LIB_DIR)) {
9 $HELM_LIB_PATH = $HELM_LIB_DIR."/configuration.pl";
11 $HELM_LIB_PATH = $DEFAULT_HELM_LIB_DIR."/configuration.pl";
14 # next require defines: $helm_dir, $html_link, $dtd_dir, $uris_dbm
15 require $HELM_LIB_PATH;
20 $cgi = new CGI($ENV{"REQUEST_URL"});
22 $mode = $cgi->param('mode');
23 $cicuri = $cgi->param('cicuri');
24 $theoryuri = $cgi->param('theoryuri');
25 $processorURL = $cgi->param('processorURL');
26 $getterURL = $cgi->param('getterURL');
27 $topurl = $cgi->url();
30 Content-type: text/html
32 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
33 "http://www.w3.org/TR/REC-html40/loose.dtd">
36 <title>Index of $cicuri and $theoryuri</title>
38 <frameset rows="18%,*" border="0" scrolling="no">
39 <frame src="mkcontrol.pl?topurl=$topurl&mode=$mode&cicuri=$cicuri&theoryuri=$theoryuri&processorURL=$processorURL&getterURL=$getterURL" name="control"/>
40 <frameset cols="50%,50%" border="0" scrolling="no">
41 <frameset rows="11%,*" border="0" scrolling="no">
42 <frame src="mkheader.pl?uri=$theoryuri" name="theoryheader"/>
43 <frame src="mkindextheory.pl?theoryuri=$theoryuri&getterURL=$getterURL" name="theoryresult"/>
45 <frameset rows="11%,*" border="0" scrolling="no">
46 <frame src="mkheader.pl?uri=$cicuri" name="cicheader"/>
47 <frame src="mkindexcic.pl?cicuri=$cicuri&getterURL=$getterURL" name="cicresult"/>