<html>
{
-# $Id: targets.egw,v 1.12 1996/01/04 13:30:32 adam Exp $
- source /usr/local/etc/httpd/conf/ztargets.conf
+# $Id: targets.egw,v 1.16 1996/01/24 09:08:30 adam Exp $
+ source ztargets.conf
if {[info commands saveState] == ""} {
source z39util.tcl
}
<title> Europagate, WWW/Z39.50 Gateway </title>
</head>
<body>
-<h2>Choose Z39.50 target</h2><br>
+<h2>Choose a server</h2><br>
<dl>
{
if {![info exists debug]} {
foreach t $tn {
if {[string index $t 0] == "."} continue
html {<dt><a href="http:} $env(SCRIPT_NAME) /
- html "$sessionId/query.egw/$t" {"> } [lindex $targets($t) 0] " </a>\n"
+ html "$sessionId/query.egw;/$t" {"> } [lindex $targets($t) 0] " </a>\n"
set desc [lindex $targets($t) 4]
if {$desc != ""} {
html "<dd><em>$desc</em>\n"
html "<h3>Debug information</h3>\n"
html "sessionId: $sessionId <br>\n"
html "sessionParms: $sessionParms <br>\n"
- foreach e {SERVER_NAME PATH_INFO SCRIPT_NAME} {
- html $e {: } $env($e) {<br>} \n
+ foreach n [array names env] {
+ html "env($n) = " $env($n) " <br>\n"
}
}
</body>