X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Ftargets.egw;h=143c721cffa7457f8b7d72e31b571ecc028f4c4f;hb=ba37ce207c47ac1fa27bb46df7dc54f72740bb96;hp=9726f97f88d2d7dc78f8d302660a4a159e592a81;hpb=09f416a26c1c7e35ead317106f985774ec0c97bd;p=egate.git diff --git a/www/targets.egw b/www/targets.egw index 9726f97..143c721 100644 --- a/www/targets.egw +++ b/www/targets.egw @@ -1,6 +1,6 @@ { -# $Id: targets.egw,v 1.9 1995/12/21 15:49:53 adam Exp $ +# $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 @@ -10,14 +10,32 @@ Europagate, WWW/Z39.50 Gateway -
-EUROPAGATE -
- -

Choose Z39.50 target

+

Choose Z39.50 target


{ - foreach t [array names targets] { + 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] @@ -27,15 +45,16 @@ } }
+ { - z39history + button-europagate + button-view-history 0 } -
-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"