<html>
{
-# $Id: mtargets.egw,v 1.7 1995/12/21 15:49:51 adam Exp $
+# $Id: mtargets.egw,v 1.9 1996/01/08 08:42:14 adam Exp $
set setNo 1
source /usr/local/etc/httpd/conf/ztargets.conf
if {[info commands saveState] == ""} {
<title>Europagate, WWW/Z39.50 Gateway</title>
</head>
<body>
+{
+ if {![info exists debug]} {
+ if {[lindex $sessionParms 0] == "1"} {
+ set debug 1
+ } else {
+ set debug 0
+ }
+ }
+ if {![info exists useIcons]} {
+ if {[lindex $sessionParms 1] == "1"} {
+ set useIcons 0
+ } else {
+ set useIcons 1
+ }
+ }
+}
<center>
<img src="/gif/button-egw.gif" Alt="EUROPAGATE">
</center>
<h2>Choose one or more Z39.50 targets</h2>
{
html {<form action="http:} $env(SCRIPT_NAME)
- html / $sessionId {/mquery.egw/} $setNo {" method=post><br>} \n
+ html / $sessionId {/mquery.egw/} $setNo {" method=get><br>} \n
html "<dl>\n"
foreach t [array names targets] {
html {<dt>} [ lindex $targets($t) 0]
}
<input type="submit" value="Select">
</form>
-<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>
{
+ catch maintenance
+ if {!$debug} return
html "<hr>\n"
html "<h3>Debug information</h3>\n"
html "sessionId: $sessionId <br>\n"