From: Adam Dickmeiss Date: Thu, 4 Jan 1996 10:40:00 +0000 (+0000) Subject: Scan buttons only present if scan option is set. X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3a8f973d3eae6f61c31340874c84610fd3a7f8e5;p=egate.git Scan buttons only present if scan option is set. --- diff --git a/www/msearch.egw b/www/msearch.egw index ca59fef..5407ca3 100644 --- a/www/msearch.egw +++ b/www/msearch.egw @@ -1,6 +1,6 @@ { -# $Id: msearch.egw,v 1.8 1996/01/03 15:19:38 adam Exp $ +# $Id: msearch.egw,v 1.9 1996/01/04 10:40:00 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -50,9 +50,10 @@ html "Error\n
NSD$code: $msg: $addinfo" } else { set r [z39$i.$setNo resultCount] - html "$r hits\n
\n" + html "$r hits\n
" } html "\n" } @@ -73,7 +74,7 @@ html {"> New target } " | \n" } html {} } else { diff --git a/www/query.egw b/www/query.egw index d1a122c..92e2e1d 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@ { -# $Id: query.egw,v 1.24 1996/01/03 15:19:39 adam Exp $ +# $Id: query.egw,v 1.25 1996/01/04 10:40:00 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -157,8 +157,10 @@ proc ok-response {} { } elseif {[info exists hist($oSetNo,form,entry$no)]} { html { value="} [join $hist($oSetNo,form,entry$no) " "] {"} } - html { size=35>} \n - html {} + html { size=35> } + if {[lsearch [z39 options] scan] >= 0} { + html {} + } if {$no < 3} { html {