X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Ftargets.egw;h=2708dc0140089b19436d8bf9ef5800e8cb1b507f;hb=5b5e33eaf7afda11d555540e3f15ac2d49d245a6;hp=2a64c20b88df1206e70562f93ef89a9e66c1dffa;hpb=d66a4b9debb168d9a03368429bcc933c57553c74;p=egate.git diff --git a/www/targets.egw b/www/targets.egw index 2a64c20..2708dc0 100644 --- a/www/targets.egw +++ b/www/targets.egw @@ -1,38 +1,69 @@ { -# $Id: targets.egw,v 1.1 1995/10/23 17:04:17 adam Exp $ +# $Id: targets.egw,v 1.17 1996/01/24 14:14:19 adam Exp $ + source ztargets.conf + if {[info commands saveState] == ""} { + source z39util.tcl + } } Europagate, WWW/Z39.50 Gateway -
-Welcome to EUROPAGATE -
-Part of Europagate is a World Wide Web to Z39.50 gateway. The gateway provides search and -retrieve facilities in the databases of various libraries.

- Europagate is a -project in the -EU libraries Programme carried out by:
- University College Dublin
-Technical University & Library of Denmark
-Library Council
-Consejo Superior de Investigaciones Científicas
-


- Choose a Z39.50 target:
+

Choose a server


{ - source /usr/local/etc/httpd/conf/ztargets.conf - foreach t [array names targets] { - htmlr "
$t " - htmlr "
" [lindex $targets($t) 0] + 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" + } } }
-
-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. + +{ + button-europagate + button-define-target 1 + 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" + } +}