+# $Id: showfull.egw,v 1.7 1995/11/09 15:24:37 adam Exp $
+
+proc buttons {setNo no format} {
+ global sessionId
+ global env
+ global hist
+
+ html "<p>\n"
+ if {$no < [z39.$setNo resultCount]} {
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/showfull.egw/} $setNo + [expr $no + 1] + $format
+ html {"> Next record </a>} "| \n"
+ }
+ if {$no > 1} {
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/showfull.egw/} $setNo + [expr $no - 1] + $format
+ html {"> Previous record </a>} "| \n"
+ }
+
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/showfull.egw/} $setNo + $no +
+ if {$format == "full"} {
+ html raw {">Raw format</a>} "| \n"
+ } else {
+ html full {">Full format</a>} "| \n"
+ }
+
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/search.egw/} $setNo + 1
+ html + $hist($setNo,maxPresent)
+ html {"> Result </a>} "| \n"
+
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/targets.egw"> New target </a>} " | \n"
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/query.egw/} $hist($setNo,host) + $setNo
+ html {"> New query </a>} "<p>\n"
+
+}