{ # $Id: targets.egw,v 1.16 1996/01/24 09:08:30 adam Exp $ source ztargets.conf if {[info commands saveState] == ""} { source z39util.tcl } } Europagate, WWW/Z39.50 Gateway

Choose a server


{ if {![info exists debug]} { if {[lindex $sessionParms 0] == "1"} { set debug 1 } else { set debug 0 } } if {![info exists useIcons]} { if {[lindex $sessionParms 1] == "1"} { set useIcons 0 } else { set useIcons 1 } } proc targetsCmp {l r} { global targets return [string compare [string tolower [lindex $targets($l) 0]] \ [string tolower [lindex $targets($r) 0]]] } set tt [array names targets] set tn [lsort -command targetsCmp $tt] foreach t $tn { if {[string index $t 0] == "."} continue html {
} [lindex $targets($t) 0] " \n" set desc [lindex $targets($t) 4] if {$desc != ""} { html "
$desc\n" } } }
{ button-europagate button-view-history 0 } { catch maintenance global debug if {!$debug} return html "
\n" html "

Debug information

\n" html "sessionId: $sessionId
\n" html "sessionParms: $sessionParms
\n" foreach n [array names env] { html "env($n) = " $env($n) "
\n" } }