Work on scan.
[egate.git] / www / targets.egw
index d936080..9726f97 100644 (file)
@@ -1,36 +1,35 @@
 <html>
 {
-# $Id: targets.egw,v 1.3 1995/11/01 16:15:47 adam Exp $
+# $Id: targets.egw,v 1.9 1995/12/21 15:49:53 adam Exp $
     source /usr/local/etc/httpd/conf/ztargets.conf
-    set nextSetNo 1
+    if {[info commands saveState] == ""} {
+        source z39util.tcl
+    }
 }
 <head>
 <title> Europagate, WWW/Z39.50 Gateway </title>
 </head>
 <body>
 <center>
-<img src="/gif/webgate.gif" Alt="Welcome to EUROPAGATE">
+<img src="/gif/button-egw.gif" Alt="EUROPAGATE">
 </center>
-Part of Europagate is a World Wide Web to Z39.50 gateway. The gateway provides search and 
-retrieve facilities in the databases of various libraries. <p>
-<a href="http://www.dtu.dk/dtv/egate/egate.html"> Europagate </a> is a 
-project in the <a href="http://www.echo.lu/programmes/en/LIBRARIES.html"> 
-EU libraries Programme </a> carried out by: <br>
-<a href="http://www.ucd.ie/"> University College Dublin </a> <br>
-<a href="http://www.dtv.dk/dtv/">Technical University & Library of Denmark </a> <br>
-Library Council <br>
-Consejo Superior de Investigaciones Cient&iacute;ficas <br>
-<hr>
-<strong> Choose a Z39.50 target: </strong> <br>
+
+<h2>Choose Z39.50 target</h2>
 <dl>
 {
     foreach t [array names targets] {
-        html {<dt> <a href="http://} $env(SERVER_NAME) $env(SCRIPT_NAME) /
-        html "$sessionId/query.egw/$t" {"> } $t "</a>\n"
-        html "<dd> " [lindex $targets($t) 0] \n
+        html {<dt><a href="http:} $env(SCRIPT_NAME) /
+        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"
+        }
     }
 }
 </dl>
+{
+    z39history
+}
 <hr>
 This page is maintained by <a href="mailto:pwh@dtv.dk"> Peter Wad Hansen </a>.
 Last modified 25. september 1995. <br>
@@ -38,7 +37,7 @@ Last modified 25. september 1995. <br>
 until the end of December 1995.</em>
 {
     html "<hr>\n"
-    html "<strong>Debug information</strong><br>\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} {