Enhanced the egw_source command. An optional parameter specifies the
[egate.git] / www / mtargets.egw
index f10238f..a1f9341 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: mtargets.egw,v 1.21 1996/04/25 10:22:20 adam Exp $
+# $Id: mtargets.egw,v 1.23 1996/08/28 09:36:02 adam Exp $
     set setNo 1
     source ztargets.conf
     if {![info exists debug]} {
@@ -36,6 +36,7 @@
 
     set useIcons 1
     button-main
+    button-feedback
     button-define-target
 
     html "<h2>Choose one or more targets</h2>\n"
     }
     proc targetC {t} {
         global targets
-        global waisFlag
-        if {!$waisFlag && ![string compare [lindex $targets($t) 1] WAIS]} {
-            return
-        }
         html {<dt><b>} [lindex $targets($t) 0]
         html {</b>: }
         set databases [splitDatabaseSpec $t]
         }
         html "<br><br>\n"
     }
-    if {![info exists waisFlag]} {
-        set waisFlag 1
-        if {[catch {wais waisdummy}]} {
-            set waisFlag 0
-        } else {
-            rename waisdummy {}
-        }
-    }
     serverList headlineC targetC
 
     html "</dl>\n"
@@ -83,6 +72,7 @@
     html "<p>\n"
     set useIcons 0
     button-main
+    button-feedback
     button-define-target
 }