{ # $Id: showfull.egw,v 1.8 1995/11/10 10:20:25 adam Exp $ proc buttons {setNo no format} { global sessionId global env global hist html "

\n" if {$no < [z39.$setNo resultCount]} { html {Next record} " | \n" } if {$no > 1} { html {Previous record} " | \n" } html {Raw format} " | \n" } else { html full {">Full format} " | \n" } html {Result} " | \n" html {New target} " | \n" html {New query} "

\n" } if {[info commands saveState] == ""} { source z39util.tcl } html " WWW/Z39.50 Gateway Record " $host " \n" html "\n" global setNo global hist set sno [lindex $sessionParms 0] set no [lindex $sessionParms 1] set format [lindex $sessionParms 2] set setNo $sno if {[z39search $setNo 0] != "1"} { return } set total [z39.$setNo resultCount] html "

Record \#$no out of $total


\n" buttons $setNo $no $format eval {z39present $setNo $no $no display-$format} buttons $setNo $no $format }