X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fshowfull.egw;h=abd1277679bfc1b91d0b53e80f7091e0f5503d50;hb=8bafbc608e1ffba9ee87f4856e586dffa57901b8;hp=4c708dd01023fd6b1f599e60ad3f0e01e6aa08a3;hpb=4938d0c2e8f4e1eec397c2bfbbc7e23fd150c369;p=egate.git diff --git a/www/showfull.egw b/www/showfull.egw index 4c708dd..abd1277 100644 --- a/www/showfull.egw +++ b/www/showfull.egw @@ -1,6 +1,6 @@ { -# $Id: showfull.egw,v 1.20 1996/03/07 12:46:09 adam Exp $ +# $Id: showfull.egw,v 1.24 1996/03/14 11:50:49 adam Exp $ proc buttons {setNo tno no format count host after} { global sessionId @@ -9,8 +9,11 @@ proc buttons {setNo tno no format count host after} { global hist html "

\n" - button-europagate + button-main if {$no < $count} { + if {!$useIcons} { + html "\n | " + } html {} } else { - html {">Next} " | \n" + html {">Next} } } if {$no > 1} { + if {!$useIcons} { + html "\n | " + } html {} } else { - html {">Previous} " | \n" + html {">Previous} } } + if {!$useIcons} { + html "\n | " + } html {} } else { - html {">Raw Format} " | \n" + html {">Raw Format} } } else { html full @@ -49,31 +58,22 @@ proc buttons {setNo tno no format count host after} { html {">} } else { - html {">Full Format} " | \n" + html {">Full Format} } } - html {} - } else { - html {">Result Set} " | \n" - } - - button-new-query 1 $setNo - button-new-target 0 + 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 + } } global setNo @@ -89,7 +89,7 @@ proc buttons {setNo tno no format count host after} { set zz z39$tno set host $hist($setNo,$tno,host) - html " WWW/Z39.50 Gateway Record " [splitHostSpec $host] + html "<head><title> WWW/Z39.50 Gateway Record " [lindex $targets($host) 0] html " \n" html "\n" @@ -102,7 +102,8 @@ proc buttons {setNo tno no format count host after} { set useIcons 1 buttons $setNo $tno $no $format $count $host 0 - html "

Record \#$no out of $count


\n" + html "

Record \#$no out of $count in " [lindex $targets($host) 0] + html "


\n" eval {z39present $setNo $tno $no $no display-$format F} set useIcons 0