3 # $Id: targets.egw,v 1.10 1996/01/02 10:52:30 adam Exp $
4 source /usr/local/etc/httpd/conf/ztargets.conf
5 if {[info commands saveState] == ""} {
10 <title> Europagate, WWW/Z39.50 Gateway </title>
14 <img src="/gif/button-egw.gif" Alt="EUROPAGATE">
17 <h2>Choose Z39.50 target</h2><br>
20 proc targetsCmp {l r} {
22 return [string compare [string tolower [lindex $targets($l) 0]] \
23 [string tolower [lindex $targets($r) 0]]]
25 set tt [array names targets]
26 set tn [lsort -command targetsCmp $tt]
28 html {<dt><a href="http:} $env(SCRIPT_NAME) /
29 html "$sessionId/query.egw/$t" {"> } [lindex $targets($t) 0] " </a>\n"
30 set desc [lindex $targets($t) 4]
32 html "<dd><em>$desc</em>\n"
41 This page is maintained by <a href="mailto:pwh@dtv.dk"> Peter Wad Hansen </a>.
42 Last modified 25. september 1995. <br>
43 <em> This and the following pages are under construction and will continue to be so
44 until the end of December 1995.</em>
47 html "<h3>Debug information</h3>\n"
48 html "sessionId: $sessionId <br>\n"
49 html "sessionParms: $sessionParms <br>\n"
50 foreach e {SERVER_NAME PATH_INFO SCRIPT_NAME} {
51 html $e {: } $env($e) {<br>} \n