<html>
{
-# $Id: targets.egw,v 1.2 1995/10/27 15:12:05 adam Exp $
+# $Id: targets.egw,v 1.5 1995/11/06 17:44:21 adam Exp $
source /usr/local/etc/httpd/conf/ztargets.conf
+ if {[info commands saveState] == ""} {
+ source z39util.tcl
+ }
}
<head>
<title> Europagate, WWW/Z39.50 Gateway </title>
Library Council <br>
Consejo Superior de Investigaciones Científicas <br>
<hr>
-<strong> Choose a Z39.50 target: </strong> <br>
+<h3> Choose a Z39.50 target: </h3>
<dl>
{
foreach t [array names targets] {
html {<dt> <a href="http://} $env(SERVER_NAME) $env(SCRIPT_NAME) /
- htmlr ${sessionId} {/query.egw/} $t {"> } $t {</a>}
- htmlr "<dd> " [lindex $targets($t) 0]
+ html "$sessionId/query.egw/$t" {"> } $t "</a>\n"
+ html "<dd> " [lindex $targets($t) 0] \n
}
}
</dl>
+{
+ z39history
+}
<hr>
This page is maintained by <a href="mailto:pwh@dtv.dk"> Peter Wad Hansen </a>.
Last modified 25. september 1995. <br>
<em> This and the following pages are under construction and will continue to be so
until the end of December 1995.</em>
-<hr>
-sessionId: {html $sessionId} <br>
-sessionParms: {html $sessionParms} <br>
{
+ html "<hr>\n"
+ html "<h3>Debug information</h3>\n"
+ html "sessionId: $sessionId <br>\n"
+ html "sessionParms: $sessionParms <br>\n"
foreach e {SERVER_NAME PATH_INFO SCRIPT_NAME} {
- htmlr $e {: } $env($e) {<br>}
+ html $e {: } $env($e) {<br>} \n
}
}
</body>