X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Ftargets.egw;h=46d61e1d300f88e0b6a87a4d157810e5de7bec5f;hb=cf6ead410b63297e714d9258f9ea593b1e127501;hp=f954c23b553e3f36b112c40e0434bdbc2ffd2b92;hpb=df7b985601de6c729147a6fd6588adba6f905480;p=egate.git diff --git a/www/targets.egw b/www/targets.egw index f954c23..46d61e1 100644 --- a/www/targets.egw +++ b/www/targets.egw @@ -1,22 +1,34 @@ { -# $Id: targets.egw,v 1.10 1996/01/02 10:52:30 adam Exp $ - source /usr/local/etc/httpd/conf/ztargets.conf +# $Id: targets.egw,v 1.18 1996/01/26 15:50:10 adam Exp $ + source ztargets.conf if {[info commands saveState] == ""} { source z39util.tcl } + if {![info exists debug]} { + if {[lindex $sessionParms 0] == "1"} { + set debug 1 + } else { + set debug 0 + } + } + set mMode 0 } Europagate, WWW/Z39.50 Gateway -
-EUROPAGATE -
- -

Choose Z39.50 target


-
{ + set useIcons 1 + + button-europagate + if {[info exists nextSetNo]} { + button-view-history 1 + } + button-define-target 0 + html "

Choose a target


\n" + html "
\n" + proc targetsCmp {l r} { global targets return [string compare [string tolower [lindex $targets($l) 0]] \ @@ -25,30 +37,32 @@ 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" + html "$sessionId/query.egw;/$t" {"> } [lindex $targets($t) 0] " \n" set desc [lindex $targets($t) 4] if {$desc != ""} { - html "
$desc\n" + html "
$desc\n" } } + html "

\n" + set useIcons 0 + button-europagate + if {[info exists nextSetNo]} { + button-view-history 1 + } + button-define-target 0 } -
-{ - z39history -} -
-This page is maintained by Peter Wad Hansen . -Last modified 25. september 1995.
- This and the following pages are under construction and will continue to be so -until the end of December 1995. { + 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 + foreach n [array names env] { + html "env($n) = " $env($n) "
\n" } }