X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Fmsearch.egw;h=f6defa07de5c322ba2dbdeeb94404e7e616107ba;hb=3871eda3b3a1518d4d18c1ffc0ed0375cb88bdf5;hp=08f5ea697fb560ef68a5312c366a1e76ab7016c9;hpb=ebeb5e591b8f1bf6c5045efaddf74f3eee7bdbaf;p=egate.git
diff --git a/www/msearch.egw b/www/msearch.egw
index 08f5ea6..f6defa0 100644
--- a/www/msearch.egw
+++ b/www/msearch.egw
@@ -1,6 +1,6 @@
{
-# $Id: msearch.egw,v 1.12 1996/01/24 08:27:26 adam Exp $
+# $Id: msearch.egw,v 1.14 1996/01/29 17:31:47 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
@@ -13,6 +13,7 @@
html "
WWW/Z39.50 Gateway Search \n"
html "\n"
+
set setNo [lindex $sessionParms 0]
if {[egw_form menu1] != ""} {
@@ -31,10 +32,17 @@
}
set hist($setNo,maxPresent) [egw_form hits]
if {$hist($setNo,maxPresent) == ""} {
- set hist($setNo,maxPresent) 30
+ set hist($setNo,maxPresent) 20
}
}
- z39msearch $setNo 1 B
+
+ set useIcons 1
+ button-europagate
+ button-new-query 1 $setNo
+ button-new-target 0
+
+ html "
\n"
+ z39msearch $setNo B 1 $hist($setNo,maxPresent) 1
html "\n"
set not $hist($setNo,0,host)
@@ -58,28 +66,11 @@
html "\n"
}
html "
\n"
-}
-{
- global useIcons
-
- if {$useIcons} {
- html {}
- }
- html {}
- } else {
- html {"> New target } " | \n"
- }
- html {}
- } else {
- html {"> New query }
- }
+ set useIcons 0
+ button-europagate
+ button-new-query 1 $setNo
+ button-new-target 0
}
{