Improved history.
[egate.git] / www / history.egw
diff --git a/www/history.egw b/www/history.egw
new file mode 100644 (file)
index 0000000..64f13c7
--- /dev/null
@@ -0,0 +1,50 @@
+<html>
+<head>
+<title> WWW/Z39.50 Gateway History</title>
+</head>
+<body>
+{
+# $Id: history.egw,v 1.1 1996/01/03 15:19:36 adam Exp $
+
+    if {[info commands saveState] == ""} {
+        source z39util.tcl
+    }
+
+    z39history
+
+    if {$useIcons} {
+        html {<img src="/gif/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="/gif/button-new-target.gif" }
+       html {alt="New Target" border=0></a>}
+    } else {
+        html {">New Target</a>} "\n"
+    }
+}
+{
+    catch maintenance
+    if {!$debug} return
+    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} {
+        html $e {: } $env($e) {<br>} \n
+    }
+    html "form: " [wform] " <br>\n"
+    html "target: " $host " <br>\n"
+    html "databases: " $databases " <br>\n"
+    html "setNo: " $setNo " <br>\n"
+    html "nextSetNo: " $nextSetNo " <br>\n"
+    html "initSet: " $initSet " <br>\n"
+    html "scanLine: " $scanLine " <br>\n"
+    html "scanTerm: " $scanTerm " <br>\n"
+}
+</body></html>
+
+