X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Ftargets.egw;h=f954c23b553e3f36b112c40e0434bdbc2ffd2b92;hb=df7b985601de6c729147a6fd6588adba6f905480;hp=7827fb46eefb9ab5210d27319071ea173dae460e;hpb=c6ea088406ba64e6ed5ea833e1c2ae516552e18e;p=egate.git diff --git a/www/targets.egw b/www/targets.egw index 7827fb4..f954c23 100644 --- a/www/targets.egw +++ b/www/targets.egw @@ -1,6 +1,6 @@ { -# $Id: targets.egw,v 1.8 1995/12/20 16:31:32 adam Exp $ +# $Id: targets.egw,v 1.10 1996/01/02 10:52:30 adam Exp $ source /usr/local/etc/httpd/conf/ztargets.conf if {[info commands saveState] == ""} { source z39util.tcl @@ -10,12 +10,21 @@ Europagate, WWW/Z39.50 Gateway -

-Welcome to EUROPAGATE - Choose a Z39.50 target:

+
+EUROPAGATE +
+ +

Choose Z39.50 target


{ - foreach t [array names targets] { + 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]