Scan work.
[egate.git] / www / msearch.egw
index 4ac4f3a..5c4f410 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: msearch.egw,v 1.6 1995/12/21 15:49:51 adam Exp $
+# $Id: msearch.egw,v 1.11 1996/01/09 16:16:48 adam Exp $
 
     if {[info commands saveState] == ""} {
         source z39util.tcl
@@ -27,7 +27,7 @@
         incr nextSetNo
 
         for {set i 1} {$i <= $hist($setNo,0,host)} {incr i} {
-            set hist($setNo,$i,query) [build-query $hist($setNo,$i,host)] 3
+            set hist($setNo,$i,query) [build-query $hist($setNo,$i,host) 3]
         }
         set hist($setNo,maxPresent) [wform hits]
         if {$hist($setNo,maxPresent) == ""} {
             html "Error</h3>\n<dd>NSD$code: $msg: $addinfo"
         } else {
             set r [z39$i.$setNo resultCount]
-            html "$r hits</h3>\n<dd>\n"
+            html "$r hits</h3>\n<dd>\n<ul>\n"
 
             display-rec 1 $hist($setNo,$i,offset) display-brief $i
+            html "</ul>"
         }
         html "\n"
     }
     global useIcons
 
     if {$useIcons} {
-        html {<img src="/gif/button-egw.gif">}
+        html {<img src="/egwgif/button-egw.gif">}
     }
     html {<a href="http:} $env(SCRIPT_NAME)
     html / $sessionId {/mtargets.egw}
     if {$useIcons} {
-       html {"><img src="/gif/button-new-target.gif" border=0></a>}
+       html {"><img src="/egwgif/button-new-target.gif" border=0></a>}
     } else {
        html {"> New target </a>} " | \n"
     }
     html {<a href="http:} $env(SCRIPT_NAME)
-    html / $sessionId {/mquery.egw/} $host + $setNo
+    html / $sessionId {/mquery.egw/} $setNo
     if {$useIcons} {
-        html {"><img src="/gif/button-new-query.gif" border=0></a>}
+        html {"><img src="/egwgif/button-new-query.gif" border=0></a>}
     } else {
         html {"> New query </a>}
     }
 }
 
 {
+    if {!$debug} return
     html "<hr>\n"
     html "<h3>Debug information</h3>\n"
     html "sessionId: $sessionId <br>\n"