3 # $Id: mtargets.egw,v 1.12 1996/01/26 15:50:07 adam Exp $
6 if {[info commands saveState] == ""} {
12 <title>Europagate, WWW/Z39.50 Gateway</title>
16 if {![info exists debug]} {
17 if {[lindex $sessionParms 0] == "1"} {
24 if {![info exists useIcons]} {
25 if {[lindex $sessionParms 1] == "1"} {
34 button-define-target 0
36 html "<h2>Choose one or more targets</h2>\n"
37 html {<form action="http:} $env(SCRIPT_NAME)
38 html / $sessionId {/mquery.egw/} $setNo {" method=get><br>} \n
40 foreach t [array names targets] {
41 html {<dt>} [ lindex $targets($t) 0]
43 set databases [lindex $targets($t) 1]
45 set desc [lindex $targets($t) 4]
47 html "<em>$desc</em><br>\n"
49 foreach d $databases {
50 html {<input type="checkbox" name="target"}
51 html { value="} $t + $d {"> } $d
56 html {<input type="submit" value="Select"></form>} \n
61 button-define-target 0
68 html "<h3>Debug information</h3>\n"
69 html "sessionId: $sessionId <br>\n"
70 html "sessionParms: $sessionParms <br>\n"
71 foreach e {SERVER_NAME PATH_INFO SCRIPT_NAME} {
72 html $e {: } $env($e) {<br>} \n