X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=www%2Fshowfull.egw;h=3cacea15248bdea638099bc349183b93710d86ff;hb=fa0ddb755d3a836e4e13cc05a6ba3eb6b0010958;hp=1c09eb26037f8beae3525fd2ac358c06fbee7f2c;hpb=c6ea088406ba64e6ed5ea833e1c2ae516552e18e;p=egate.git diff --git a/www/showfull.egw b/www/showfull.egw index 1c09eb2..3cacea1 100644 --- a/www/showfull.egw +++ b/www/showfull.egw @@ -1,6 +1,6 @@ { -# $Id: showfull.egw,v 1.12 1995/12/20 16:31:32 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 @@ -9,25 +9,16 @@ proc buttons {setNo tno no format count host after} { global hist html "

\n" - if {!$useIcons && $after && $no < $count} { - html "

\n" - html {} - html "

\n" - } - if {$useIcons} { - html {} - } + button-europagate if {$no < $count} { html {} + html {">} } else { - html {">Next record} " | \n" + html {">Next Record} " | \n" } } if {$no > 1} { @@ -35,9 +26,10 @@ proc buttons {setNo tno no format count host after} { html / $sessionId {/showfull.egw/} $setNo + $tno + html [expr $no - 1] + $format if {$useIcons} { - html {">} + html {">} } else { - html {">Previous record} " | \n" + html {">Previous Record} " | \n" } } @@ -46,16 +38,18 @@ proc buttons {setNo tno no format count host after} { if {$format == "full"} { html raw if {$useIcons} { - html {">} + html {">} } else { - html {">Raw format} " | \n" + html {">Raw Format} " | \n" } } else { html full if {$useIcons} { - html {">} + html {">} } else { - html {">Full format} " | \n" + html {">Full Format} " | \n" } } @@ -68,9 +62,10 @@ proc buttons {setNo tno no format count host after} { html $setNo + 1 html + $hist($setNo,maxPresent) if {$useIcons} { - html {">} + html {">} } else { - html {">Result set} " | \n" + html {">Result Set} " | \n" } html {} + html {">} } else { - html {">New query} " | \n" + html {">New Query} " | \n" } html {} + html {">} } else { - html {">New target} + html {">New Target} } html "

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

\n" - html {} - html "

\n" - } } if {[info commands saveState] == ""} { @@ -134,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 }