X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fmquery.egw;h=fa2c809de6a96de42de8f7ecef117023b49d17c0;hb=a4571caef991e968e3c20b515490b7923306a1cf;hp=c20551929268c1b7865f7fe8a0772d4b418553c8;hpb=cc5af6a5323f9576c208519dbf4351b4f818e166;p=egate.git diff --git a/www/mquery.egw b/www/mquery.egw index c205519..fa2c809 100644 --- a/www/mquery.egw +++ b/www/mquery.egw @@ -4,7 +4,7 @@ { -# $Id: mquery.egw,v 1.9 1996/01/09 16:16:47 adam Exp $ +# $Id: mquery.egw,v 1.14 1996/03/12 16:30:26 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -20,12 +20,16 @@ set setNo 1 } + set useIcons 1 + button-main + button-new-target 0 + html {
} \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,14 +40,23 @@ } lappend hist($setNo,$i,database) $base } + set oSetNo [lindex $sessionParms 0] + if {$i == 0 && [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 hist($setNo,0,host) $i -} -

Input your search criteria:


-{ + + html "Input your search criteria:
\n" set fields [lindex $targets($host) 2] for {set no 1} {$no < 4} {incr no} { html { -
-{ - html {Number of records to display in the result set list: } - html {} -} -
-{ - global useIcons - if {$useIcons} { - html {} - } - html {} - } else { - html {"> New target } - } + html {} + html "
\n" + html {Display each record in notation" + html { and sort by
\n" + + set useIcons 0 + button-main + button-new-target 0 } { catch maintenance @@ -99,7 +104,7 @@ 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"