X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Fshowfull.egw;h=85c2194a0af27e6df6bea0c83bcfee62153dbbb5;hb=309c35b155c617707995d52197f64f7e17d143a2;hp=c2d11ce79cea48d39af1b3796c1d8d939cc70303;hpb=b443634fbd412cea15ea527188c3e241bb1edf21;p=egate.git diff --git a/www/showfull.egw b/www/showfull.egw index c2d11ce..85c2194 100644 --- a/www/showfull.egw +++ b/www/showfull.egw @@ -1,61 +1,118 @@ { -# $Id: showfull.egw,v 1.6 1995/11/08 16:14:34 adam Exp $ +# $Id: showfull.egw,v 1.19 1996/03/05 18:50:25 adam Exp $ -proc buttons {setNo no} { +proc buttons {setNo tno no format count host after} { global sessionId + global useIcons global env global hist html "
\n" - if {$no < [z39.$setNo resultCount]} { + button-europagate + if {$no < $count} { html { Next } "| \n" + html / $sessionId {/showfull.egw/} $setNo + $tno + + html [expr $no + 1] + $format + if {$useIcons} { + html {">} + } else { + html {">Next} " | \n" + } } if {$no > 1} { html { Prev } "| \n" + html / $sessionId {/showfull.egw/} $setNo + $tno + + html [expr $no - 1] + $format + if {$useIcons} { + html {">} + } else { + html {">Previous} " | \n" + } } + html { Result } "| \n" - - html { New target } " | \n" - html { New query } "
\n" + html / $sessionId {/showfull.egw/} $setNo + $tno + $no + + if {$format == "full"} { + html raw + if {$useIcons} { + html {">} + } else { + html {">Raw Format} " | \n" + } + } else { + html full + if {$useIcons} { + html {">} + } else { + html {">Full Format} " | \n" + } + } + + html {} + } else { + html {">Result Set} " | \n" + } + + button-new-query 1 $setNo + button-new-target 0 + html "
\n" } if {[info commands saveState] == ""} { source z39util.tcl } - html "