X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Fshowfull.egw;h=0afbc4e9b4ee09e32e6ea7d6352d03d5c873cc4d;hb=78db50f1a1a809e80ed94e18e805b29496837989;hp=efee05ed8a42a5d73d6ab0428e8c83071b3cec06;hpb=852b4caac48a2542af95c577dab306db1bda56f1;p=egate.git diff --git a/www/showfull.egw b/www/showfull.egw index efee05e..0afbc4e 100644 --- a/www/showfull.egw +++ b/www/showfull.egw @@ -1,71 +1,118 @@ { -# $Id: showfull.egw,v 1.7 1995/11/09 15:24:37 adam Exp $ +# $Id: showfull.egw,v 1.18 1996/01/29 17:31:48 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-europagate
+ if {$no < $count} {
html { Next record } "| \n"
+ html / $sessionId {/showfull.egw/} $setNo + $tno +
+ html [expr $no + 1] + $format
+ if {$useIcons} {
+ html {">}
+ } else {
+ html {">Next} " | \n"
+ }
}
if {$no > 1} {
html { Previous record } "| \n"
+ html / $sessionId {/showfull.egw/} $setNo + $tno +
+ html [expr $no - 1] + $format
+ if {$useIcons} {
+ html {">
}
+ } else {
+ html {">Previous} " | \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 { 0} {
+ html {/msearch.egw/}
+ } else {
+ html {/search.egw/}
+ }
+ html $setNo + 1
html + $hist($setNo,maxPresent)
- html {"> Result } "| \n"
-
- html { New target } " | \n"
- html { New query } "
\n"
+ if {$useIcons} {
+ 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 "