More verbose.
[egate.git] / www / targets.egw
index 143c721..39e1205 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: targets.egw,v 1.11 1996/01/03 15:19:50 adam Exp $
+# $Id: targets.egw,v 1.13 1996/01/08 19:16:32 adam Exp $
     source /usr/local/etc/httpd/conf/ztargets.conf
     if {[info commands saveState] == ""} {
         source z39util.tcl
@@ -36,6 +36,7 @@
     set tt [array names targets]
     set tn [lsort -command targetsCmp $tt]
     foreach t $tn {
+       if {[string index $t 0] == "."} continue
         html {<dt><a href="http:} $env(SCRIPT_NAME) /
         html "$sessionId/query.egw/$t" {"> } [lindex $targets($t) 0] " </a>\n"
         set desc [lindex $targets($t) 4]
@@ -59,8 +60,8 @@
     html "<h3>Debug information</h3>\n"
     html "sessionId: $sessionId <br>\n"
     html "sessionParms: $sessionParms <br>\n"
-    foreach e {SERVER_NAME PATH_INFO SCRIPT_NAME} {
-        html $e {: } $env($e) {<br>} \n
+    foreach n [array names env] {
+        html "env($n) = " $env($n) " <br>\n"
     }
 }
 </body>