X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=www%2Fshowfull.egw;h=abd1277679bfc1b91d0b53e80f7091e0f5503d50;hb=ebca0ae675e77526b1c4d11b98b063eca693e4ec;hp=0ec8051105cf932fbaa3fb2484e292ce745ee74c;hpb=705b88300e427db47dd933f2ee615e73bf3c3754;p=egate.git diff --git a/www/showfull.egw b/www/showfull.egw index 0ec8051..abd1277 100644 --- a/www/showfull.egw +++ b/www/showfull.egw @@ -1,71 +1,113 @@ { -# $Id: showfull.egw,v 1.8 1995/11/10 10:20:25 adam Exp $ +# $Id: showfull.egw,v 1.24 1996/03/14 11:50:49 adam Exp $ -proc buttons {setNo no format} { +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-main
+ if {$no < $count} {
+ if {!$useIcons} {
+ html "\n | "
+ }
html {Next record} " | \n"
+ html / $sessionId {/showfull.egw/} $setNo + $tno +
+ html [expr $no + 1] + $format
+ if {$useIcons} {
+ html {">}
+ } else {
+ html {">Next}
+ }
}
if {$no > 1} {
+ if {!$useIcons} {
+ html "\n | "
+ }
html {Previous record} " | \n"
+ html / $sessionId {/showfull.egw/} $setNo + $tno +
+ html [expr $no - 1] + $format
+ if {$useIcons} {
+ html {">
}
+ } else {
+ html {">Previous}
+ }
}
+ if {!$useIcons} {
+ html "\n | "
+ }
html {Raw format} " | \n"
+ html raw
+ if {$useIcons} {
+ html {">
}
+ } else {
+ html {">Raw Format}
+ }
} else {
- html full {">Full format} " | \n"
+ html full
+ if {$useIcons} {
+ html {">
}
+ } else {
+ html {">Full Format}
+ }
}
- html {Result} " | \n"
-
- html {New target} " | \n"
- html {New query} "
\n" - + button-result-set $setNo $tno + button-new-query $setNo + button-new-target + html "
\n" } if {[info commands saveState] == ""} { source z39util.tcl + if {![info exists debug]} { + session-lost + egw_abort + } } - html "