Logs of changes.
[egate.git] / www / targets.egw
index 55d8189..975631d 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: targets.egw,v 1.19 1996/01/26 17:41:26 adam Exp $
+# $Id: targets.egw,v 1.21 1996/03/08 16:47:06 adam Exp $
     source ztargets.conf
     if {[info commands saveState] == ""} {
         source z39util.tcl
         }
     }
     set html3 [lindex $sessionParms 0]
-    if {$html3 == ""} {
-        if {[string first Mozilla $env(HTTP_USER_AGENT)] == 0} {
+    if {[string length $html3] == 0} {
+        if {![info exists env(HTTP_USER_AGENT)]} {
+            set html3 1
+        } elseif {[string first Mozilla $env(HTTP_USER_AGENT)] == 0} {
             set html3 1
             egw_log debug "New user using Netscape"
         } else {
@@ -48,7 +50,6 @@
     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]