{ # $Id: targets.egw,v 1.11 1996/01/03 15:19:50 adam Exp $ source /usr/local/etc/httpd/conf/ztargets.conf if {[info commands saveState] == ""} { source z39util.tcl } } Europagate, WWW/Z39.50 Gateway

Choose Z39.50 target


{ 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 { 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 e {SERVER_NAME PATH_INFO SCRIPT_NAME} { html $e {: } $env($e) {
} \n } }