3 # $Id: mtargets.egw,v 1.10 1996/01/09 16:16:48 adam Exp $
5 source /usr/local/etc/httpd/conf/ztargets.conf
6 if {[info commands saveState] == ""} {
11 <title>Europagate, WWW/Z39.50 Gateway</title>
15 if {![info exists debug]} {
16 if {[lindex $sessionParms 0] == "1"} {
23 if {![info exists useIcons]} {
24 if {[lindex $sessionParms 1] == "1"} {
32 <img src="/egwgif/button-egw.gif" Alt="EUROPAGATE">
34 <h2>Choose one or more Z39.50 targets</h2>
36 html {<form action="http:} $env(SCRIPT_NAME)
37 html / $sessionId {/mquery.egw/} $setNo {" method=get><br>} \n
39 foreach t [array names targets] {
40 html {<dt>} [ lindex $targets($t) 0]
42 set databases [lindex $targets($t) 1]
44 set desc [lindex $targets($t) 4]
46 html "<em>$desc</em><br>\n"
48 foreach d $databases {
49 html {<input type="checkbox" name="target"}
50 html { value="} $t + $d {"> } $d
56 <input type="submit" value="Select">
62 html "<h3>Debug information</h3>\n"
63 html "sessionId: $sessionId <br>\n"
64 html "sessionParms: $sessionParms <br>\n"
65 foreach e {SERVER_NAME PATH_INFO SCRIPT_NAME} {
66 html $e {: } $env($e) {<br>} \n