summaryrefslogtreecommitdiff
path: root/swat2/esptest/showvars.esp
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-09-11 16:47:45 +0200
committerStefan Metzmacher <metze@samba.org>2008-09-12 08:51:07 +0200
commitbf852a3dbeee8900fa36978f08a5cdceabcbd926 (patch)
treedd365b88f23fafefb02b7ebc2dea4e3ca39372fe /swat2/esptest/showvars.esp
parenta383b8bf88a5681f9c9c6839ba645c872a735051 (diff)
downloadsamba-bf852a3dbeee8900fa36978f08a5cdceabcbd926.tar.gz
rename swat => swat2, so that we don't conflict with samba3
metze
Diffstat (limited to 'swat2/esptest/showvars.esp')
-rw-r--r--swat2/esptest/showvars.esp24
1 files changed, 24 insertions, 0 deletions
diff --git a/swat2/esptest/showvars.esp b/swat2/esptest/showvars.esp
new file mode 100644
index 00000000000..dc55b1e58bb
--- /dev/null
+++ b/swat2/esptest/showvars.esp
@@ -0,0 +1,24 @@
+<% page_header("columns", "ESP standard variables test", "esptest"); %>
+
+<h1>Samba4 showvars test</h1>
+
+<%
+ function showArray(name, array) {
+ write("<h3>Array: " + name + "</h3>\n");
+ if (array == undefined) {
+ write("undefined<br>\n");
+ } else {
+ simple_table(array);
+ }
+ }
+
+ showArray("headers", headers);
+ showArray("application", application);
+ showArray("cookies", cookies);
+ showArray("files", files);
+ showArray("request", request);
+ showArray("server", server);
+ showArray("session", session);
+%>
+
+<% page_footer(); %>