More general multi-search algorithm with cached records.
[egate.git] / www / showfull.egw
index 1147703..0afbc4e 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: showfull.egw,v 1.17 1996/01/26 15:50:09 adam Exp $
+# $Id: showfull.egw,v 1.18 1996/01/29 17:31:48 adam Exp $
 
 proc buttons {setNo tno no format count host after} {
     global sessionId
@@ -67,31 +67,9 @@ proc buttons {setNo tno no format count host after} {
     } else {
         html {">Result Set</a>} " | \n"
     }
-    html {<a href="http:} $env(SCRIPT_NAME) / $sessionId 
-    if {$tno > 0} {
-        html {/mquery.egw/} 
-    } else {
-        html {/query.egw/} 
-    }
-    html $host + $setNo 
-    if {$useIcons} {
-        html {"><img src="/egwgif/button-new-query.gif" }
-       html {alt="New Query" border=0></a>}
-    } else {
-        html {">New Query</a>} " | \n"
-    }
-    html {<a href="http:} $env(SCRIPT_NAME) / $sessionId 
-    if {$tno > 0} {
-        html {/mtargets.egw} 
-    } else {
-        html {/targets.egw} 
-    }
-    if {$useIcons} {
-        html {"><img src="/egwgif/button-new-target.gif" }
-       html {alt="New Target" border=0></a>}
-    } else {
-        html {">New Target</a>}
-    }
+
+    button-new-query 1 $setNo
+    button-new-target 0
     html "<p>\n"
 }