X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Ftargets.egw;h=952707dcdef045d11724619df7362a82918cb1c0;hb=459fccd238ab7674a7e6aa81406a47e8bbe88411;hp=143c721cffa7457f8b7d72e31b571ecc028f4c4f;hpb=ba37ce207c47ac1fa27bb46df7dc54f72740bb96;p=egate.git
diff --git a/www/targets.egw b/www/targets.egw
index 143c721..952707d 100644
--- a/www/targets.egw
+++ b/www/targets.egw
@@ -1,7 +1,7 @@
{
-# $Id: targets.egw,v 1.11 1996/01/03 15:19:50 adam Exp $
- source /usr/local/etc/httpd/conf/ztargets.conf
+# $Id: targets.egw,v 1.16 1996/01/24 09:08:30 adam Exp $
+ source ztargets.conf
if {[info commands saveState] == ""} {
source z39util.tcl
}
@@ -10,7 +10,7 @@
Europagate, WWW/Z39.50 Gateway
-Choose Z39.50 target
+Choose a server
{
if {![info exists debug]} {
@@ -36,8 +36,9 @@
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"
@@ -59,8 +60,8 @@
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"
}
}