<html>
{
-# $Id: targets.egw,v 1.11 1996/01/03 15:19:50 adam Exp $
+# $Id: targets.egw,v 1.12 1996/01/04 13:30:32 adam Exp $
source /usr/local/etc/httpd/conf/ztargets.conf
if {[info commands saveState] == ""} {
source z39util.tcl
set tt [array names targets]
set tn [lsort -command targetsCmp $tt]
foreach t $tn {
+ if {[string index $t 0] == "."} continue
html {<dt><a href="http:} $env(SCRIPT_NAME) /
html "$sessionId/query.egw/$t" {"> } [lindex $targets($t) 0] " </a>\n"
set desc [lindex $targets($t) 4]
#
-# $Id: z39util.tcl,v 1.17 1996/01/03 15:19:52 adam Exp $
+# $Id: z39util.tcl,v 1.18 1996/01/04 13:30:33 adam Exp $
#
proc saveState {} {
uplevel #0 {
html "<h2>History</h2><dl><br>\n"
for {set setNo 1} {$setNo < $nextSetNo} {incr setNo} {
if {$hist($setNo,scan) > 0} continue
- html {<dt> <a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/search.egw/} $setNo + 1
- html + $hist($setNo,maxPresent)
- html {"> } [lindex $targets($hist($setNo,host)) 0]
- if {[llength $hist($setNo,database)] > 1} {
+ set host $hist($setNo,host)
+ html {<dt> } [lindex $targets($host) 0]
+ if {[llength [lindex $targets($host) 1]] > 1} {
html ": "
foreach b $hist($setNo,database) {
html " $b"
}
}
- html "</a> -- "
+ html {. }
+
if {[info exists hist($setNo,hits)]} {
- html $hist($setNo,hits) " hits"
+ html { <a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/search.egw/} $setNo + 1
+ html + $hist($setNo,maxPresent)
+ html {">Result</a>: } $hist($setNo,hits) { hits.}
} else {
- html failed
+ html {Search failed.}
}
html "<dd>\n"
+ html { <a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/query.egw/} $host + $setNo
+ html {">Query</a>: }
set op {}
for {set i 1} {$i <= 3} {incr i} {
if {[string length $hist($setNo,form,entry$i)] > 0} {
html {Last modified 3. january 1996. <br>}
html {<em> This and the following pages are under construction and }
html {will continue to be so until the end of January 1996.</em>}
-}
\ No newline at end of file
+}
-# $Id: ztargets.conf,v 1.15 1996/01/03 15:19:54 adam Exp $
+# $Id: ztargets.conf,v 1.16 1996/01/04 13:30:33 adam Exp $
set commonFields {
{ Title {@attr 1=4} }
{ Author {@attr 1=1003} }
set targets(dtbsun.dtv.dk:9999) {
Zebra
- {usgs esdd cd_rom iah}
+ {usgs esdd cd_rom iah www_dk}
{
{ Title {@attr 1=4} }
{ Author {@attr 1=1003} }