X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fmquery.egw;h=b6947867263a61c94eeaecd4b5d49bd115a71529;hb=8bafbc608e1ffba9ee87f4856e586dffa57901b8;hp=af33dda6bd4f3c9dd18b1402b4cc633532c94472;hpb=cf6ead410b63297e714d9258f9ea593b1e127501;p=egate.git diff --git a/www/mquery.egw b/www/mquery.egw index af33dda..b694786 100644 --- a/www/mquery.egw +++ b/www/mquery.egw @@ -1,13 +1,13 @@ - - WWW/Z39.50 Gateway Query Form - - { -# $Id: mquery.egw,v 1.11 1996/01/26 15:50:07 adam Exp $ +# $Id: mquery.egw,v 1.16 1996/03/14 11:50:45 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl + if {![info exists debug]} { + session-lost + egw_abort + } } global setNo @@ -20,9 +20,11 @@ set setNo 1 } + html { WWW/Z39.50 Gateway Query Form} + set useIcons 1 - button-europagate - button-new-target 0 + button-main + button-new-target html {
} \n @@ -41,7 +43,10 @@ lappend hist($setNo,$i,database) $base } set oSetNo [lindex $sessionParms 0] - if {$i == 0 && $oSetNo != ""} { + 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) \ @@ -54,36 +59,86 @@ html "

No targets specified

" 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 - html "Input your search criteria:
\n" + 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 {} html "
\n" - html {Number of records to display in the result set list: } - html {
} - + + html {Display each record in notation" + html { and sort by
\n" + set useIcons 0 - button-europagate - button-new-target 0 + button-main + button-new-target } { catch maintenance