A lot of work on scan. Tables used to display scan terms and hits.
[egate.git] / www / targets.egw
index 2708dc0..46d61e1 100644 (file)
@@ -1,18 +1,10 @@
 <html>
 {
-# $Id: targets.egw,v 1.17 1996/01/24 14:14:19 adam Exp $
+# $Id: targets.egw,v 1.18 1996/01/26 15:50:10 adam Exp $
     source ztargets.conf
     if {[info commands saveState] == ""} {
         source z39util.tcl
     }
-}
-<head>
-<title> Europagate, WWW/Z39.50 Gateway </title>
-</head>
-<body>
-<h2>Choose a server</h2><br>
-<dl>
-{
     if {![info exists debug]} {
         if {[lindex $sessionParms 0] == "1"} {
             set debug 1
             set debug 0
         }
     }
+    set mMode 0
+}
+<head>
+<title> Europagate, WWW/Z39.50 Gateway </title>
+</head>
+<body>
+{
+    set useIcons 1
 
-    if {![info exists useIcons]} {
-        if {[lindex $sessionParms 1] == "1"} {
-            set useIcons 0
-        } else {
-            set useIcons 1
-        }
+    button-europagate
+    if {[info exists nextSetNo]} {
+        button-view-history 1
     }
+    button-define-target 0
+    html "<h2>Choose a target</h2><br>\n"
+    html "<dl>\n"
+
     proc targetsCmp {l r} {
         global targets
         return [string compare [string tolower [lindex $targets($l) 0]] \
         html "$sessionId/query.egw;/$t" {"> } [lindex $targets($t) 0] " </a>\n"
         set desc [lindex $targets($t) 4]
         if {$desc != ""} {
-            html "<dd><em>$desc</em>\n"
+            html "<dd>$desc\n"
         }
     }
+    html "</dl><br>\n"
+    set useIcons 0
+    button-europagate 
+    if {[info exists nextSetNo]} {
+        button-view-history 1
+    }
+    button-define-target 0
 }
-</dl>
-
-{
-    button-europagate
-    button-define-target 1
-    button-view-history 0
-}
-
 {
     catch maintenance
     global debug