X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=www%2Fshowfull.egw;h=3cacea15248bdea638099bc349183b93710d86ff;hb=d1fc0ff84894bba24f827a81597717e9f69b6c06;hp=5791e1629a3f2eb9fdf9111a95d3698c2ae6ea90;hpb=b52740e82ab92e99a6982bf5c99a30ac404bd557;p=egate.git diff --git a/www/showfull.egw b/www/showfull.egw index 5791e16..3cacea1 100644 --- a/www/showfull.egw +++ b/www/showfull.egw @@ -1,40 +1,56 @@ { -# $Id: showfull.egw,v 1.10 1995/11/13 15:41:44 adam Exp $ +# $Id: showfull.egw,v 1.16 1996/01/09 16:16:49 adam Exp $ proc buttons {setNo tno no format count host after} { global sessionId + global useIcons global env global hist - if {$after && $no < $count} { - html "

\n" - html {} - html "
\n" - } html "

\n" + button-europagate if {$no < $count} { html {Next record} " | \n" + if {$useIcons} { + html {">} + } else { + html {">Next Record} " | \n" + } } if {$no > 1} { html {Previous record} " | \n" + if {$useIcons} { + html {">} + } else { + html {">Previous Record} " | \n" + } } html {Raw format} " | \n" + html raw + if {$useIcons} { + html {">} + } else { + html {">Raw Format} " | \n" + } } else { - html full {">Full format} " | \n" + html full + if {$useIcons} { + html {">} + } else { + html {">Full Format} " | \n" + } } html {Result set} " | \n" - + if {$useIcons} { + html {">} + } else { + html {">Result Set} " | \n" + } html {New query} " | \n" - + if {$useIcons} { + html {">} + } else { + html {">New Query} " | \n" + } html {New target} "

\n" - - if {!$after && $no > 1} { - html "

\n" - html {} - html "
\n" + if {$useIcons} { + html {">} + } else { + html {">New Target} } + html "

\n" } if {[info commands saveState] == ""} { @@ -102,11 +123,13 @@ proc buttons {setNo tno no format count host after} { if {[z39search $setNo 0 $tno F] != "1"} { return } + set count [$zz.$setNo resultCount] - html "

Record \#$no out of $count


\n" buttons $setNo $tno $no $format $count $host 0 + html "

Record \#$no out of $count


\n" + eval {z39present $setNo $tno $no $no display-$format F} buttons $setNo $tno $no $format $count $host 1 }