IrTcl incorporated in the gateway.
[egate.git] / www / targets.egw
index 2a64c20..16ad730 100644 (file)
@@ -1,6 +1,7 @@
 <html>
 {
-# $Id: targets.egw,v 1.1 1995/10/23 17:04:17 adam Exp $
+# $Id: targets.egw,v 1.2 1995/10/27 15:12:05 adam Exp $
+    source /usr/local/etc/httpd/conf/ztargets.conf
 }
 <head>
 <title> Europagate, WWW/Z39.50 Gateway </title>
@@ -22,9 +23,9 @@ Consejo Superior de Investigaciones Cient&iacute;ficas <br>
 <strong> Choose a Z39.50 target: </strong> <br>
 <dl>
 {
-    source /usr/local/etc/httpd/conf/ztargets.conf
     foreach t [array names targets] {
-        htmlr "<dt> <a href=\"http://localhost/cgi-bin/egwcgi/egwtcl/query.egw/$t\"> $t </a>"
+        html {<dt> <a href="http://} $env(SERVER_NAME) $env(SCRIPT_NAME) /
+        htmlr ${sessionId} {/query.egw/} $t {"> } $t {</a>}
         htmlr "<dd> " [lindex $targets($t) 0]
     }
 }
@@ -34,5 +35,13 @@ This page is maintained by <a href="mailto:pwh@dtv.dk"> Peter Wad Hansen </a>.
 Last modified 25. september 1995. <br>
 <em> This and the following pages are under construction and will continue to be so
 until the end of December 1995.</em>
+<hr>
+sessionId: {html $sessionId} <br>
+sessionParms: {html $sessionParms} <br>
+{
+    foreach e {SERVER_NAME PATH_INFO SCRIPT_NAME} {
+        htmlr $e {: } $env($e) {<br>}
+    }
+}
 </body>
 </html>