projects
/
egate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fix: shell (wproto) sometimes closed server FIFO before cgi
[egate.git]
/
www
/
targets.egw
diff --git
a/www/targets.egw
b/www/targets.egw
index
f954c23
..
a9889fe
100644
(file)
--- a/
www/targets.egw
+++ b/
www/targets.egw
@@
-1,6
+1,6
@@
<html>
{
<html>
{
-# $Id: targets.egw,v 1.10 1996/01/02 10:52:30 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
source /usr/local/etc/httpd/conf/ztargets.conf
if {[info commands saveState] == ""} {
source z39util.tcl
@@
-10,13
+10,24
@@
<title> Europagate, WWW/Z39.50 Gateway </title>
</head>
<body>
<title> Europagate, WWW/Z39.50 Gateway </title>
</head>
<body>
-<center>
-<img src="/gif/button-egw.gif" Alt="EUROPAGATE">
-</center>
-
<h2>Choose Z39.50 target</h2><br>
<dl>
{
<h2>Choose Z39.50 target</h2><br>
<dl>
{
+ 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
+ }
+ }
proc targetsCmp {l r} {
global targets
return [string compare [string tolower [lindex $targets($l) 0]] \
proc targetsCmp {l r} {
global targets
return [string compare [string tolower [lindex $targets($l) 0]] \
@@
-25,6
+36,7
@@
set tt [array names targets]
set tn [lsort -command targetsCmp $tt]
foreach t $tn {
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]
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]
@@
-34,15
+46,16
@@
}
}
</dl>
}
}
</dl>
+
{
{
- z39history
+ button-europagate
+ button-view-history 0
}
}
-<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
+ global debug
+ if {!$debug} return
html "<hr>\n"
html "<h3>Debug information</h3>\n"
html "sessionId: $sessionId <br>\n"
html "<hr>\n"
html "<h3>Debug information</h3>\n"
html "sessionId: $sessionId <br>\n"