X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Ftargets.egw;h=a9889fee125d1f84226ef989ff95b3f7153ef0db;hb=ebbedbe0d49ac7cae8d511bf051eed59d9e14e50;hp=f954c23b553e3f36b112c40e0434bdbc2ffd2b92;hpb=df7b985601de6c729147a6fd6588adba6f905480;p=egate.git
diff --git a/www/targets.egw b/www/targets.egw
index f954c23..a9889fe 100644
--- a/www/targets.egw
+++ b/www/targets.egw
@@ -1,6 +1,6 @@
{
-# $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
@@ -10,13 +10,24 @@
Europagate, WWW/Z39.50 Gateway
-
-
-
-
Choose Z39.50 target
{
+ 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]] \
@@ -25,6 +36,7 @@
set tt [array names targets]
set tn [lsort -command targetsCmp $tt]
foreach t $tn {
+ if {[string index $t 0] == "."} continue
html {- } [lindex $targets($t) 0] " \n"
set desc [lindex $targets($t) 4]
@@ -34,15 +46,16 @@
}
}
+
{
- z39history
+ button-europagate
+ button-view-history 0
}
-
-This page is maintained by Peter Wad Hansen .
-Last modified 25. september 1995.
- This and the following pages are under construction and will continue to be so
-until the end of December 1995.
+
{
+ catch maintenance
+ global debug
+ if {!$debug} return
html "
\n"
html "Debug information
\n"
html "sessionId: $sessionId
\n"