<html>
{
-# $Id: mtargets.egw,v 1.2 1995/11/07 14:56:58 adam Exp $
+# $Id: mtargets.egw,v 1.7 1995/12/21 15:49:51 adam Exp $
set setNo 1
source /usr/local/etc/httpd/conf/ztargets.conf
if {[info commands saveState] == ""} {
<title>Europagate, WWW/Z39.50 Gateway</title>
</head>
<body>
-<h1>Search in multiple targets</h1>
-<hr>
-<h3>Choose one or more Z39.50 targets:</h3>
+
+<center>
+<img src="/gif/button-egw.gif" Alt="EUROPAGATE">
+</center>
+<h2>Choose one or more Z39.50 targets</h2>
{
- html {<form action="http://} $env(SERVER_NAME) $env(SCRIPT_NAME)
+ html {<form action="http:} $env(SCRIPT_NAME)
html / $sessionId {/mquery.egw/} $setNo {" method=post><br>} \n
+ html "<dl>\n"
foreach t [array names targets] {
- html {<input type="checkbox" name="target" value="} $t
- html {"> } $t \n
+ html {<dt>} [ lindex $targets($t) 0]
+ html {<dd>}
+ set databases [lindex $targets($t) 1]
+
+ set desc [lindex $targets($t) 4]
+ if {$desc != ""} {
+ html "<em>$desc</em><br>\n"
+ }
+ foreach d $databases {
+ html {<input type="checkbox" name="target"}
+ html { value="} $t + $d {"> } $d
+ }
html "<br>\n"
}
+ html "</dl>\n"
}
<input type="submit" value="Select">
</form>