Bug fix: shell might terminate even though new request was initiated
[egate.git] / www / targets.egw
index 0111e42..7827fb4 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: targets.egw,v 1.5 1995/11/06 17:44:21 adam Exp $
+# $Id: targets.egw,v 1.8 1995/12/20 16:31:32 adam Exp $
     source /usr/local/etc/httpd/conf/ztargets.conf
     if {[info commands saveState] == ""} {
         source z39util.tcl
 <title> Europagate, WWW/Z39.50 Gateway </title>
 </head>
 <body>
-<center>
-<img src="/gif/webgate.gif" Alt="Welcome to 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>
-<h3> Choose a Z39.50 target: </h3>
+<h3>
+<img src="/gif/button-egw.gif" Alt="Welcome to EUROPAGATE" align=middle>
+ Choose a Z39.50 target: </h3>
 <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>