More work!
[egate.git] / www / search.egw
index 88969cd..a4416d7 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: search.egw,v 1.39 1996/03/14 11:50:48 adam Exp $
+# $Id: search.egw,v 1.40 1996/05/15 18:43:38 adam Exp $
 
 proc start-scan {scanNo targetNo cache dir initSet} {
     global sessionId
@@ -39,6 +39,9 @@ proc start-scan {scanNo targetNo cache dir initSet} {
             egw_log debug "z39_scan failed"
             return
         }
+        if {!$useIcons} {
+           html "\n | "
+        }
         html {<a href="http:} $env(SCRIPT_NAME)
         html / $sessionId {/search.egw/} $setNo + $targetNo + 
         html [expr $scanNo - 1] + b {">}
@@ -46,9 +49,12 @@ proc start-scan {scanNo targetNo cache dir initSet} {
             html {<img src="/egwgif/button-previous-terms.gif" }
             html {alt="Next Terms" border=0></a>}
         } else {
-            html {Previous Terms</a> | }
+            html {Previous Terms</a>}
         }
 
+        if {!$useIcons} {
+           html "\n | "
+        }
         html {<a href="http:} $env(SCRIPT_NAME)
         html / $sessionId {/search.egw/} $setNo + $targetNo +
         html [expr $scanNo + 1] + f {">}
@@ -56,7 +62,7 @@ proc start-scan {scanNo targetNo cache dir initSet} {
             html {<img src="/egwgif/button-next-terms.gif" }
             html {alt="Next Terms" border=0></a>}
         } else {
-            html {Next Terms</a> | }
+            html {Next Terms</a>}
         }
         html {</a>}
     }
@@ -131,6 +137,9 @@ proc start-scan {scanNo targetNo cache dir initSet} {
 
     button-main
 
+    if {!$useIcons} {
+        html "\n | "
+    }
     html {<a href="http:} $env(SCRIPT_NAME)
     html / $sessionId {/search.egw/} $setNo + $targetNo +
     html [expr $scanNo - 1] + b {">}
@@ -138,9 +147,12 @@ proc start-scan {scanNo targetNo cache dir initSet} {
         html {<img src="/egwgif/button-previous-terms.gif" }
         html {alt="Next Terms" border=0></a>}
     } else {
-        html {Previous Terms</a> | }
+        html {Previous Terms</a>}
     }
 
+    if {!$useIcons} {
+        html "\n | "
+    }
     html {<a href="http:} $env(SCRIPT_NAME)
     html / $sessionId {/search.egw/} $setNo + $targetNo +
     html [expr $scanNo + 1] + f {">}
@@ -148,7 +160,7 @@ proc start-scan {scanNo targetNo cache dir initSet} {
         html {<img src="/egwgif/button-next-terms.gif" }
         html {alt="Next Terms" border=0></a>}
     } else {
-        html {Next Terms</a> | }
+        html {Next Terms</a>}
     }
     html {</a>}
     button-new-query $setNo