Icon layout reorganized. Bug fixes.
# Makefile for www gateway utility
# Europagate, 1995
#
-# $Id: Makefile,v 1.26 1996/01/24 16:59:27 adam Exp $
+# $Id: Makefile,v 1.27 1996/01/26 15:50:06 adam Exp $
#
SHELL=/bin/sh
#
$(TPROG3): $(P3) $(OLIB)
$(CC) $(CFLAGS) -o $(TPROG3) $(P3) $(OLIB) $(ZLIB)
-install: install.prog install.script
+install: install.prog install.script install.gif
install.prog: $(TPROG1) $(TPROG2)
@for x in $(TPROG1) $(TPROG2); do \
echo Installing $$x; \
cp $$x $(EGWDIR); \
done
+
+install.gif:
@if [ ! -d $(GIFDIR) ]; then \
echo "Making directory $(GIFDIR)"; \
mkdir $(GIFDIR); \
</head>
<body>
{
-# $Id: history.egw,v 1.4 1996/01/24 08:27:25 adam Exp $
+# $Id: history.egw,v 1.5 1996/01/26 15:50:06 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
}
+ set useIcons 1
+ button-europagate
+ button-new-target 0
+
z39history
- if {$useIcons} {
- html {<img src="/egwgif/button-egw.gif" alt="Europagate" border=0></a>}
- } else {
- html {Europagate | }
- }
- html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/targets.egw}
- if {$useIcons} {
- html {"><img src="/egwgif/button-new-target.gif" }
- html {alt="New Target" border=0></a>}
- } else {
- html {">New Target</a>} "\n"
- }
+ set useIcons 0
+ button-europagate
+ button-new-target 0
}
{
catch maintenance
</head>
<body>
{
-# $Id: mquery.egw,v 1.10 1996/01/24 08:27:25 adam Exp $
+# $Id: mquery.egw,v 1.11 1996/01/26 15:50:07 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
set setNo 1
}
+ set useIcons 1
+ button-europagate
+ button-new-target 0
+
html {<form action="http:} $env(SCRIPT_NAME)
html / $sessionId {/msearch.egw/} $setNo {" method=get>} \n
}
lappend hist($setNo,$i,database) $base
}
+ set oSetNo [lindex $sessionParms 0]
+ if {$i == 0 && $oSetNo != ""} {
+ 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 "<h2>No targets specified</h2></body></html>"
egw_abort 1
}
set hist($setNo,0,host) $i
-}
-<h2>Input your search criteria: </h2><br>
-{
+
+ html "Input your search criteria:<br>\n"
set fields [lindex $targets($host) 2]
for {set no 1} {$no < 4} {incr no} {
html {<select name="menu} $no {">} \n
}
html "<br>\n"
}
-}
-<input type=submit value="Search"><input type=reset value="Reset">
-<br>
-{
+ html {<input type=submit value="Search"><input type=reset value="Reset">}
+ html "<br>\n"
html {Number of records to display in the result set list: }
html {<input type="text" name="hits" value="}
html 10
- html {" size=3>}
-}
-</form>
-{
- global useIcons
- if {$useIcons} {
- html {<img src="/egwgif/button-egw.gif">}
- }
- html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/mtargets.egw}
- if {$useIcons} {
- html {"><img src="/egwgif/button-new-target.gif" border=0></a>}
- } else {
- html {"> New target </a>}
- }
+ html {" size=3></form>}
+
+ set useIcons 0
+ button-europagate
+ button-new-target 0
}
{
catch maintenance
<html>
{
-# $Id: msearch.egw,v 1.12 1996/01/24 08:27:26 adam Exp $
+# $Id: msearch.egw,v 1.13 1996/01/26 15:50:07 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
html "<head><title> WWW/Z39.50 Gateway Search </title>\n"
html "</head><body>\n"
+
set setNo [lindex $sessionParms 0]
if {[egw_form menu1] != ""} {
set hist($setNo,maxPresent) 30
}
}
+
+ set useIcons 1
+ button-europagate
+ button-new-query 1 $setNo
+ button-new-target 0
+
+ html "<br>\n"
z39msearch $setNo 1 B
html "<dl>\n"
html "\n"
}
html "</dl>\n"
-}
-{
- global useIcons
-
- if {$useIcons} {
- html {<img src="/egwgif/button-egw.gif">}
- }
- html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/mtargets.egw}
- if {$useIcons} {
- html {"><img src="/egwgif/button-new-target.gif" border=0></a>}
- } else {
- html {"> New target </a>} " | \n"
- }
- html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/mquery.egw/} $setNo
- if {$useIcons} {
- html {"><img src="/egwgif/button-new-query.gif" border=0></a>}
- } else {
- html {"> New query </a>}
- }
+ set useIcons 0
+ button-europagate
+ button-new-query 1 $setNo
+ button-new-target 0
}
{
<html>
{
-# $Id: mtargets.egw,v 1.11 1996/01/12 16:30:10 adam Exp $
+# $Id: mtargets.egw,v 1.12 1996/01/26 15:50:07 adam Exp $
set setNo 1
source ztargets.conf
if {[info commands saveState] == ""} {
source z39util.tcl
}
+ set mMode 1
}
<head>
<title>Europagate, WWW/Z39.50 Gateway</title>
set useIcons 1
}
}
-}
-<center>
-<img src="/egwgif/button-egw.gif" Alt="EUROPAGATE">
-</center>
-<h2>Choose one or more Z39.50 targets</h2>
-{
+
+ set useIcons 1
+ button-europagate
+ button-define-target 0
+
+ html "<h2>Choose one or more targets</h2>\n"
html {<form action="http:} $env(SCRIPT_NAME)
html / $sessionId {/mquery.egw/} $setNo {" method=get><br>} \n
html "<dl>\n"
html "<br>\n"
}
html "</dl>\n"
+ html {<input type="submit" value="Select"></form>} \n
+
+ html "<p>\n"
+ set useIcons 0
+ button-europagate
+ button-define-target 0
}
-<input type="submit" value="Select">
-</form>
+
{
catch maintenance
if {!$debug} return
</head>
<body>
{
-# $Id: query.egw,v 1.31 1996/01/24 16:59:28 adam Exp $
+# $Id: query.egw,v 1.32 1996/01/26 15:50:08 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
ir z39
}
- html "<h2>Search in " [lindex $targets($host) 0] "</h2><br>\n"
z39 callback ok-response
z39 failback fail-response
set thisHost [splitHostSpec $host]
egw_abort
}
}
+
+ set useIcons 1
+ button-europagate
+ button-new-target 1
+ if {[lsearch [z39 options] scan] >= 0} {
+ button-scan-window 1 $setNo
+ }
+ button-view-history 0
+
+ html "<h2>" [lindex $targets($host) 0] "</h2><br>\n"
+
+ html [lindex $targets($host) 4] "<br>\n"
+
set databases [lindex $targets($host) 1]
if {$initSet == ""} {
html 20
}
html {" size=4>}
-}
-</form>
-<p>
+ html "</form>\n"
+ html "<p>\n"
-{
+ set useIcons 0
button-europagate
-
button-new-target 1
-
if {[lsearch [z39 options] scan] >= 0} {
button-scan-window 1 $setNo
}
html "scanTerm: " $scanTerm " <br>\n"
}
</body></html>
-
-
<html>
{
-# $Id: search.egw,v 1.30 1996/01/24 08:27:29 adam Exp $
+# $Id: search.egw,v 1.31 1996/01/26 15:50:08 adam Exp $
proc start-scan {scanNo cache dir initSet} {
global sessionId
set host $hist($setNo,host)
- html "<head><title> WWW/Z39.50 Gateway Scan " $host " </title>\n"
+ html "<head><title> WWW/Z39.50 Gateway Scan " [splitHostSpec $host]
+ html " </title>\n"
html "</head><body>\n"
+ set useIcons 1
+ button-europagate
+
+ if {$dir == "b"} {
+ set lines 20
+ set pos 20
+ } elseif {$dir == "f"} {
+ set lines 20
+ set pos 1
+ } else {
+ set lines 20
+ set pos 10
+ }
+ if {$hist($setNo,$scanNo,scanTerm) != ""} {
+ if {[z39scan $setNo $scanNo 0 $lines $pos $cache] != "1"} {
+ button-new-query 0 $setNo
+ egw_log debug "z39_scan failed"
+ return
+ }
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/search.egw/} $setNo + [expr $scanNo - 1] + b {">}
+ if {$useIcons} {
+ html {<img src="/egwgif/button-previous-terms.gif" }
+ html {alt="Next Terms" border=0></a>}
+ } else {
+ html {Previous Terms</a> | }
+ }
+
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/search.egw/} $setNo + [expr $scanNo + 1] + f {">}
+ if {$useIcons} {
+ html {<img src="/egwgif/button-next-terms.gif" }
+ html {alt="Next Terms" border=0></a>}
+ } else {
+ html {Next Terms</a> | }
+ }
+ html {</a>}
+ }
+ button-new-query 0 $setNo
+
set databases [lindex $targets($host) 1]
if {$initSet == ""} {
html {<input type="checkbox" name="baseall" value="}
html [concat $databases] {"> All <br>} \n
}
- html "Input your search criteria:<br>\n"
}
+ html "Input your scan criteria:<br>\n"
set fields [lindex $targets($host) 2]
set no 1
html {<select name="menu} $no {">} \n
set template {}
if {$oSetNo > 0} {
set template [join $hist($oSetNo,form,menu$no)]
+ egw_log debug "template=$template"
}
if {[string length $template] > 0} {
html {<option> } $template \n
html "\n"
html {</form><br>}
- button-europagate
-
+ set useIcons 0
if {$hist($setNo,$scanNo,scanTerm) == ""} {
- button-new-query 0 $setNo
- egw_abort
- return
- }
- if {$dir == "b"} {
- set lines 20
- set pos 20
- } elseif {$dir == "f"} {
- set lines 20
- set pos 1
- } else {
- set lines 20
- set pos 10
- }
- if {[z39scan $setNo $scanNo 0 $lines $pos $cache] != "1"} {
+ button-europagate
+ button-new-query 0 $setNo
return
}
- html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/search.egw/} $setNo + [expr $scanNo - 1] + b {">}
- if {$useIcons} {
- html {<img src="/egwgif/button-previous-terms.gif" }
- html {alt="Next Terms" border=0></a>}
- } else {
- html {Previous Terms</a> | }
- }
-
- html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/search.egw/} $setNo + [expr $scanNo + 1] + f {">}
- if {$useIcons} {
- html {<img src="/egwgif/button-next-terms.gif" }
- html {alt="Next Terms" border=0></a>}
- } else {
- html {Next Terms</a> | }
- }
- html {</a>}
- button-new-query 0 $setNo
-
html "<p>\n"
display-scan $setNo $scanNo 0
html "<p>\n"
html "<p>\n"
button-europagate
- if {$setMax < [z39.$setNo resultCount]} {
+ if {$setMax > 0 && $setMax < [z39.$setNo resultCount]} {
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/search.egw/} $setNo + [expr $setMax + 1]
html + [expr $setMax + $hist($setNo,maxPresent)]
html {">Next Records</a>} " | \n"
}
}
- if {$startPos != "" && $startPos != "1"} {
+ if {$setMax > 0 && $startPos != "" && $startPos != "1"} {
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/search.egw/} $setNo
html + [expr $startPos - $hist($setNo,maxPresent)]
global hist
set setNo [lindex $sessionParms 0]
+ set startPos [lindex $sessionParms 1]
+ set endPos [lindex $sessionParms 2]
if {[egw_form] != ""} {
set hist($nextSetNo,idAuthentication) $hist($setNo,idAuthentication)
set termPlusAttr [build-scan $hist($setNo,host) $i]
set hist($setNo,$scanNo,scanTerm) [lindex $termPlusAttr 0]
set hist($setNo,scanAttr) [lindex $termPlusAttr 1]
- start-scan $scanNo 0 {} {}
+ start-scan $scanNo 0 {} $setNo
html "</body></html>\n"
egw_abort
return
egw_abort
}
set hist($setNo,query) $query
- } else {
- if {[lindex $sessionParms 1] == "scan"} {
- set scanNo 1000
- set hist($setNo,$scanNo,scanTerm) {}
- start-scan $scanNo 0 {} {}
- html "</body></html>\n"
- egw_abort
+ } elseif {[lindex $sessionParms 1] == "hyper"} {
+ egw_log debug "hyper search"
+ set hist($nextSetNo,idAuthentication) $hist($setNo,idAuthentication)
+ set hist($nextSetNo,host) $hist($setNo,host)
+ set hist($nextSetNo,database) $hist($setNo,database)
+
+ if {$nextSetNo == $setNo} {
+ set setNo $nextSetNo
+ incr nextSetNo
+ } else {
+ catch {unset hist($setNo,hits)}
}
+ set hist($setNo,scan) 0
+ set hist($setNo,query) \
+ "$hist($setNo,scanAttr) \"[lindex $sessionParms 2]\""
+ egw_log debug "hyper databases: $hist($setNo,database)"
+ set hist($setNo,form,entry1) [lindex $sessionParms 2]
+ set startPos ""
+ } elseif {[lindex $sessionParms 1] == "scan"} {
+ egw_log debug "star scan"
+ set scanNo 1000
+ set hist($setNo,$scanNo,scanTerm) {}
+ start-scan $scanNo 0 {} {}
+ html "</body></html>\n"
+ egw_abort
+ } else {
if {![info exists hist($setNo,scan)]} return
if {$hist($setNo,scan) > 0} {
set scanNo [lindex $sessionParms 1]
}
set host $hist($setNo,host)
- html "<head><title> WWW/Z39.50 Gateway Search " $host " </title>\n"
+ html "<head><title> WWW/Z39.50 Gateway Search " [splitHostSpec $host]
+ html " </title>\n"
html "</head><body>\n"
- set startPos [lindex $sessionParms 1]
- set endPos [lindex $sessionParms 2]
set setMax 0
set setOffset 0
+ set useIcons 1
if {$startPos == ""} {
if {[z39search $setNo 1 0 B] != "1"} {
return
}
set r [z39.$setNo resultCount]
+
+ set setMax [z39.$setNo resultCount]
+ if {$setMax > $hist($setNo,maxPresent)} {
+ set setMax $hist($setNo,maxPresent)
+ }
+ buttons $setNo $setMax $startPos 0
+
set setOffset [z39.$setNo numberOfRecordsReturned]
if {$setOffset > 0} {
html {<h3> Records 1-} $setOffset " out of $r</h3>\n"
html "<ul>\n"
display-rec 1 $setOffset display-brief 0
incr setOffset
- set setMax [z39.$setNo resultCount]
- if {$setMax > $hist($setNo,maxPresent)} {
- set setMax $hist($setNo,maxPresent)
- }
+
} else {
if {[z39search $setNo 0 0 B] != "1"} {
return
if {$setMax > $endPos} {
set setMax $endPos
}
- if {$setMax > 0} {
- buttons $setNo $setMax $startPos 0
- }
+ buttons $setNo $setMax $startPos 0
if {$setMax > 0} {
html {<h3> Records } $startPos {-} $setMax " out of $r</h3>\n"
} else {
z39present $setNo 0 $setOffset $setMax display-brief B
}
html "</ul>\n"
+ set useIcons 0
buttons $setNo $setMax $startPos 1
}
<html>
{
-# $Id: showfull.egw,v 1.16 1996/01/09 16:16:49 adam Exp $
+# $Id: showfull.egw,v 1.17 1996/01/26 15:50:09 adam Exp $
proc buttons {setNo tno no format count host after} {
global sessionId
html {"><img src="/egwgif/button-next-record.gif" }
html {alt="Next Record" border=0></a>}
} else {
- html {">Next Record</a>} " | \n"
+ html {">Next</a>} " | \n"
}
}
if {$no > 1} {
html {"><img src="/egwgif/button-previous-record.gif" }
html {alt="Previous Record" border=0></a>}
} else {
- html {">Previous Record</a>} " | \n"
+ html {">Previous</a>} " | \n"
}
}
source z39util.tcl
}
- html "<head><title> WWW/Z39.50 Gateway Record " $host " </title>\n"
+ html "<head><title> WWW/Z39.50 Gateway Record " [splitHostSpec $host]
+ html " </title>\n"
html "</head><body>\n"
global setNo
set count [$zz.$setNo resultCount]
+ set useIcons 1
buttons $setNo $tno $no $format $count $host 0
html "<h3>Record \#$no out of $count </h3><br>\n"
eval {z39present $setNo $tno $no $no display-$format F}
+ set useIcons 0
buttons $setNo $tno $no $format $count $host 1
}
</body>
<html>
{
-# $Id: targets.egw,v 1.17 1996/01/24 14:14:19 adam Exp $
+# $Id: targets.egw,v 1.18 1996/01/26 15:50:10 adam Exp $
source ztargets.conf
if {[info commands saveState] == ""} {
source z39util.tcl
}
-}
-<head>
-<title> Europagate, WWW/Z39.50 Gateway </title>
-</head>
-<body>
-<h2>Choose a server</h2><br>
-<dl>
-{
if {![info exists debug]} {
if {[lindex $sessionParms 0] == "1"} {
set debug 1
set debug 0
}
}
+ set mMode 0
+}
+<head>
+<title> Europagate, WWW/Z39.50 Gateway </title>
+</head>
+<body>
+{
+ set useIcons 1
- if {![info exists useIcons]} {
- if {[lindex $sessionParms 1] == "1"} {
- set useIcons 0
- } else {
- set useIcons 1
- }
+ button-europagate
+ if {[info exists nextSetNo]} {
+ button-view-history 1
}
+ button-define-target 0
+ html "<h2>Choose a target</h2><br>\n"
+ html "<dl>\n"
+
proc targetsCmp {l r} {
global targets
return [string compare [string tolower [lindex $targets($l) 0]] \
html "$sessionId/query.egw;/$t" {"> } [lindex $targets($t) 0] " </a>\n"
set desc [lindex $targets($t) 4]
if {$desc != ""} {
- html "<dd><em>$desc</em>\n"
+ html "<dd>$desc\n"
}
}
+ html "</dl><br>\n"
+ set useIcons 0
+ button-europagate
+ if {[info exists nextSetNo]} {
+ button-view-history 1
+ }
+ button-define-target 0
}
-</dl>
-
-{
- button-europagate
- button-define-target 1
- button-view-history 0
-}
-
{
catch maintenance
global debug
</head>
<body>
{
-# $Id: tdefine.egw,v 1.2 1996/01/24 16:59:28 adam Exp $
+# $Id: tdefine.egw,v 1.3 1996/01/26 15:50:11 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
}
+ set useIcons 1
+ button-europagate
+ button-define-target 1
+ button-new-target 0
+
html "<h2>Target definition response</h2><br>\n"
set name [lindex [egw_form name] 0]
1 ]
html "Target successfully defined<br>\n"
}
-}
-{
+ html "<p>\n"
+ set useIcons 0
button-europagate
button-define-target 1
button-new-target 0
}
-
{
global debug
</head>
<body>
{
-# $Id: tform.egw,v 1.2 1996/01/24 16:59:29 adam Exp $
+# $Id: tform.egw,v 1.3 1996/01/26 15:50:11 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
}
+ set useIcons 1
+ button-europagate
+ button-new-target 0
+
html "<h2>Target definition form</h2><br>\n"
html {<form action="http:} $env(SCRIPT_NAME)
html / $sessionId {/tdefine.egw} {" method=post>} \n
html {<input type=submit name=submit value="Submit">}
html {<input type=reset value="Reset">}
html "\n<br>\n"
-}
-{
+ set useIcons 0
button-europagate
button-new-target 0
}
#
-# $Id: z39util.tcl,v 1.25 1996/01/24 16:59:29 adam Exp $
+# $Id: z39util.tcl,v 1.26 1996/01/26 15:50:11 adam Exp $
#
proc saveState {} {
uplevel #0 {
set publisher [$zset getMarc $no field 260 * b]
set year [$zset getMarc $no field 260 * c]
} ] } {
+ html { <a href="http:} $env(SCRIPT_NAME) /
+ html $sessionId {/showfull.egw/} $setNo + $tno + $no + full {">}
set p 0
foreach a $author {
if {$p} {
if {$p} {
html ": "
}
- html { <a href="http:} $env(SCRIPT_NAME) /
- html $sessionId {/showfull.egw/} $setNo + $tno + $no + full {">}
set nope 1
foreach v $title {
html $v
set nope 0
}
if {$nope} {
- html {No title}
- }
- html {</a> }
- foreach v $cover {
- html $v
- }
- if {0} {
- html {<br>}
- foreach v $location {
- html " $v"
- }
- foreach v $publisher {
- html " $v"
- }
- foreach v $year {
- html " $v"
+ set v [join $cover ""]
+ if {[string length $v] > 40} {
+ html [string range $v 0 38] "..."
+ } else {
+ html $v
}
- }
+ }
+ html {</a> }
}
html "<br>\n"
}
$zz callback [list scan-response $zs]
+ egw_log debug "scan: ${scanAttr} ${scanTerm}"
set sessionWait 0
$zs scan "${scanAttr} ${scanTerm}"
set hist($setNo,[expr $scanNo + 1],scanTerm) $t
}
}
+ html {<table border=0><tr>}
+ html {<td align=left><b>Scan term</b>}
+ html {<td align=right><b>Hits</b>}
+ html {<tr>} \n
+
for {set i 0} {$i < $m} {incr i} {
- regsub -all {\ } [lindex [$zs scanLine $i] 1] + tterm
- html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/query.egw/} $hist($setNo,host) + $setNo +
- html $hist($setNo,scan) + $tterm {">}
+ html {<td align=left>}
+ if {0} {
+ regsub -all {\ } [lindex [$zs scanLine $i] 1] + tterm
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/query.egw/} $hist($setNo,host) + $setNo +
+ html $hist($setNo,scan) + $tterm {">}
+ } else {
+ regsub -all {\ } [lindex [$zs scanLine $i] 1] + tterm
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId {/search.egw/} $setNo +
+ html hyper + $tterm {">}
+ }
html [lindex [$zs scanLine $i] 1]
- html {</a>: <em>}
+ html {</a>}
+ html {<td align=right>}
html [lindex [$zs scanLine $i] 2]
- html "</em><br>\n"
+ html {<tr>} \n
}
+ html {</table} \n
}
proc z39search {setNo piggy tno elements} {
for {set i 1} {$i <= 3} {incr i} {
if {[string length $hist($setNo,form,entry$i)] > 0} {
html " <b>" [join $op " "] "</b> "
- html $hist($setNo,form,menu$i) "=" $hist($setNo,form,entry$i)
+ html [join $hist($setNo,form,menu$i)] "="
+ html $hist($setNo,form,entry$i)
set op $hist($setNo,form,logic$i)
}
}
html / $sessionId {/tform.egw}
if {$useIcons} {
html {"><img src="/egwgif/button-define-target.gif" }
- html {alt="New Target" border=0></a>}
+ html {alt="Define Target" border=0></a>}
} else {
- html {">New Target</a>}
+ html {">Define Target</a>}
if {$more} {
html " | \n"
} else {
global useIcons
global env
global sessionId
+ global mMode
html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/targets.egw}
+ html / $sessionId
+ if {$mMode} {
+ html {/mtargets.egw}
+ } else {
+ html {/targets.egw}
+ }
if {$useIcons} {
html {"><img src="/egwgif/button-new-target.gif" }
html {alt="New Target" border=0></a>}
global env
global sessionId
global hist
+ global mMode
html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/query.egw/} $hist($setNo,host) + $setNo {">}
+ html / $sessionId
+ if {$mMode} {
+ html {/mquery.egw/} $setNo
+ } else {
+ html {/query.egw/} $hist($setNo,host) + $setNo
+ }
+ html {">}
if {$useIcons} {
html {<img src="/egwgif/button-new-query.gif" }
html {alt="New Query" border=0></a>}
proc maintenance {} {
html {<hr>This page is maintained by }
html {<a href="mailto:pwh@dtv.dk"> Peter Wad Hansen </a>.}
- html {Last modified 24. january 1996. <br>}
+ html {Last modified 26. 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>}
}
-# $Id: ztargets.conf,v 1.19 1996/01/24 16:59:29 adam Exp $
+# $Id: ztargets.conf,v 1.20 1996/01/26 15:50:12 adam Exp $
set commonFields {
{ Title {@attr 1=4} }
{ Author {@attr 1=1} }
{ All {@attr 1=1016} }
}
{}
- {Myriad}
+ {Middlebury College (DRA).}
1
}
-set targets(rlg.stanford.edu.BKS-AMC-MAP-MDF-REC-SCO-SER-VIM-BIB) [list \
- rlg \
- {BKS AMC MAP MDF REC SCO SER VIM BIB} \
+set targets(rlg.stanford.edu.BKS-AMC-MAP-MDF-REC-SCO-SER-VIM) [list \
+ RLG \
+ {BKS AMC MAP MDF REC SCO SER VIM} \
$commonFields \
{} \
- {Research Libraries group, Stanford University} \
+ {Research Libraries group, Stanford University. Databases:<br>
+ AMC:Archival and manuscripts control;
+ BKS:Books;
+ MAP:Maps;
+ MDF:Computer files;
+ REC:Recordings;
+ SCO:Musical scores;
+ SER:Serials/periodicals;
+ VIM:Visual materials (films, videos, images)
+ } \
1
]
BIBSYS \
$commonFields \
{} \
- {BIBSYS - Norway} \
+ {BIBSYS; Norway.} \
0 \
]
DEM \
$commonFields \
{} \
- {Aleph, Z39.50 Server on DTV} \
+ {Aleph Test server at DTV} \
0 \
]
1
}
-set targets(z3950.research.att.com.Default) [list \
+set targets(z3950.research.att.com.books) [list \
{AT&T Server} \
- Default \
+ books \
$commonFields \
{} \
- {Z39.50 Server at AT&T} \
+ {AT&T book catalog, mainly IEEE} \
1 \
]
{Data Research Z39.50 Server} \
1 \
]
+
+set targets(localhost:210.Default) [list \
+ {Test} \
+ Default \
+ $commonFields \
+ {} \
+ {Server for testing purposes only.} \
+ 1 \
+]
+