<html>
{
-# $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
html "<head><title> WWW/Z39.50 Gateway Search </title>\n"
html "</head><body>\n"
+
set setNo [lindex $sessionParms 0]
if {[egw_form menu1] != ""} {
}
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 "<br>\n"
+ z39msearch $setNo B 1 $hist($setNo,maxPresent) 1
html "<dl>\n"
set not $hist($setNo,0,host)
html "\n"
}
html "</dl>\n"
-}
-{
- global useIcons
-
- if {$useIcons} {
- html {<img src="/egwgif/button-egw.gif">}
- }
- html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/mtargets.egw}
- if {$useIcons} {
- 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/} $setNo
- if {$useIcons} {
- html {"><img src="/egwgif/button-new-query.gif" border=0></a>}
- } else {
- html {"> New query </a>}
- }
+ set useIcons 0
+ button-europagate
+ button-new-query 1 $setNo
+ button-new-target 0
}
{