X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fmquery.egw;h=364a8cdcd1451ec6db4018c534ce70a0cd94d94a;hb=a61ad0378b93e99e362a1d92c33d701dbf103eba;hp=db1f8ebeada988a8815cd55583d7f86e4d1cdd72;hpb=09f416a26c1c7e35ead317106f985774ec0c97bd;p=egate.git diff --git a/www/mquery.egw b/www/mquery.egw index db1f8eb..364a8cd 100644 --- a/www/mquery.egw +++ b/www/mquery.egw @@ -4,7 +4,7 @@ { -# $Id: mquery.egw,v 1.6 1995/12/21 15:49:51 adam Exp $ +# $Id: mquery.egw,v 1.15 1996/03/13 14:07:29 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -20,12 +20,16 @@ set setNo 1 } + set useIcons 1 + button-main + button-new-target + html {
} \n + html / $sessionId {/msearch.egw/} $setNo {" method=get>} \n set phost {} set i 0 - foreach t [lsort [wform target]] { + foreach t [lsort [egw_form target]] { set host [lindex $t 0] set base [lindex $t 1] if {$host != $phost} { @@ -36,60 +40,107 @@ } lappend hist($setNo,$i,database) $base } + set oSetNo [lindex $sessionParms 0] + if {$oSetNo < 0} { + set oSetNo 0 + } + if {$i == 0 && $oSetNo && [info exists hist($oSetNo,0,host)]} { + for {set i 1} {$i <= $hist($oSetNo,0,host)} {incr i} { + set hist($setNo,$i,host) $hist($oSetNo,$i,host) + set hist($setNo,$i,idAuthentication) \ + $hist($oSetNo,$i,idAuthentication) + set hist($setNo,$i,database) $hist($oSetNo,$i,database) + } + incr i -1 + } if {$i == 0} { html "

No targets specified

" - wabort 1 + egw_abort 1 } + + set curSort server + set curFormat brief + if {$oSetNo} { + set curSort $hist($oSetNo,sort) + set curFormat $hist($oSetNo,format) + } + set hist($setNo,0,host) $i -} -

Input your search criteria:


-{ + + html "Fill-in this search form:
\n" set fields [lindex $targets($host) 2] for {set no 1} {$no < 4} {incr no} { + html {\n" - html {} \n + + html {} \n if {$no < 3} { html {\n" } html "
\n" } -} - -
-{ - html {Number of records to display in the result set list: } - html {} -} -
-{ - global useIcons - if {$useIcons} { - html {} - } - html {} + + html {} + html "
\n" + + html {Display each record in notation" + html { and sort by
\n" + + set useIcons 0 + button-main + button-new-target } -
-This page is maintained by Peter Wad Hansen . -Last modified 29. september 1995.
- This and the following pages are under construction -and will continue to be so until the end of December 1995. { + catch maintenance + if {!$debug} return html "
\n" html "

Debug information

\n" html "sessionId: $sessionId
\n" @@ -102,7 +153,7 @@ and will continue to be so until the end of December 1995. html "host=" $hist($setNo,$i,host) " " $hist($setNo,$i,database) html "
\n" } - html "form: " [wform] "
\n" + html "form: " [egw_form] "
\n" html "target: " $host "
\n" html "setNo: " $setNo "
\n" html "nextSetNo: " $nextSetNo "
\n"