From 9f9b8aa8ea9b0d2fadaa4259c821ad9aae0af0cc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 26 May 2005 02:40:22 +0000 Subject: r6985: rearranged the directory structure so as to make it possible to support esp include() call (This used to be commit d747b063393097c05ab1d2c0f78178f166eb6b92) --- swat/esptest/formtest.html | 41 ++++++++++++++++++++++++++++++++++++++++ swat/esptest/index.html | 23 ++++++++++++++++++++++ swat/esptest/showvars.html | 32 +++++++++++++++++++++++++++++++ swat/html/esptest/formtest.html | 41 ---------------------------------------- swat/html/esptest/index.html | 23 ---------------------- swat/html/esptest/showvars.html | 32 ------------------------------- swat/html/images/logo.png | Bin 9329 -> 0 bytes swat/html/index.html | 11 ----------- swat/images/logo.png | Bin 0 -> 9329 bytes swat/index.html | 11 +++++++++++ 10 files changed, 107 insertions(+), 107 deletions(-) create mode 100644 swat/esptest/formtest.html create mode 100644 swat/esptest/index.html create mode 100644 swat/esptest/showvars.html delete mode 100644 swat/html/esptest/formtest.html delete mode 100644 swat/html/esptest/index.html delete mode 100644 swat/html/esptest/showvars.html delete mode 100644 swat/html/images/logo.png delete mode 100644 swat/html/index.html create mode 100644 swat/images/logo.png create mode 100644 swat/index.html diff --git a/swat/esptest/formtest.html b/swat/esptest/formtest.html new file mode 100644 index 0000000000..8de25f76a5 --- /dev/null +++ b/swat/esptest/formtest.html @@ -0,0 +1,41 @@ + + +Samba4 ESP test + + +

Samba4 form test

+ +
+ firstName:
+ lastName:
+ +
+
+ +<% + /* if its a post then the user has filled in the form, so + report the values + */ + if (request['REQUEST_METHOD'] == "POST") { + + /* if they cancelled then take them back to the list of tests */ + if (form['submit'] == "Cancel") { + redirect("index.html"); + } +%> + You chose firstName=@@form['firstName'] lastName=@@form['lastName'] +<% + + function showArray(name, array) { + write("

Array: " + name + "

\n"); + for (v in array) { + write(name + "[" + v + "]=" + array[v] + "
\n"); + } + } + + showArray("form", form); + } +%> + + + diff --git a/swat/esptest/index.html b/swat/esptest/index.html new file mode 100644 index 0000000000..957e7d94fa --- /dev/null +++ b/swat/esptest/index.html @@ -0,0 +1,23 @@ +<% + var tests = new Array("formtest", "showvars"); +%> + + + +Samba4 ESP test + + +Samba +

Samba4 ESP test

+ +Please choose one of the following tests: + + + diff --git a/swat/esptest/showvars.html b/swat/esptest/showvars.html new file mode 100644 index 0000000000..4c4a5b93f4 --- /dev/null +++ b/swat/esptest/showvars.html @@ -0,0 +1,32 @@ + + +Samba4 ESP test + + +

Samba4 showvars test

+ +<% + function showArray(name, array) { + write("

Array: " + name + "

\n"); + for (v in array) { + write(name + "[" + v + "]=" + array[v] + "
\n"); + } + } + + showArray("form", form); + showArray("headers", headers); + showArray("application", application); + showArray("cookies", cookies); + showArray("files", files); + showArray("request", request); + showArray("server", server); + showArray("session", session); +%> + +
+
+
+ + + + diff --git a/swat/html/esptest/formtest.html b/swat/html/esptest/formtest.html deleted file mode 100644 index 8de25f76a5..0000000000 --- a/swat/html/esptest/formtest.html +++ /dev/null @@ -1,41 +0,0 @@ - - -Samba4 ESP test - - -

Samba4 form test

- -
- firstName:
- lastName:
- -
-
- -<% - /* if its a post then the user has filled in the form, so - report the values - */ - if (request['REQUEST_METHOD'] == "POST") { - - /* if they cancelled then take them back to the list of tests */ - if (form['submit'] == "Cancel") { - redirect("index.html"); - } -%> - You chose firstName=@@form['firstName'] lastName=@@form['lastName'] -<% - - function showArray(name, array) { - write("

Array: " + name + "

\n"); - for (v in array) { - write(name + "[" + v + "]=" + array[v] + "
\n"); - } - } - - showArray("form", form); - } -%> - - - diff --git a/swat/html/esptest/index.html b/swat/html/esptest/index.html deleted file mode 100644 index 957e7d94fa..0000000000 --- a/swat/html/esptest/index.html +++ /dev/null @@ -1,23 +0,0 @@ -<% - var tests = new Array("formtest", "showvars"); -%> - - - -Samba4 ESP test - - -Samba -

Samba4 ESP test

- -Please choose one of the following tests: - - - diff --git a/swat/html/esptest/showvars.html b/swat/html/esptest/showvars.html deleted file mode 100644 index 4c4a5b93f4..0000000000 --- a/swat/html/esptest/showvars.html +++ /dev/null @@ -1,32 +0,0 @@ - - -Samba4 ESP test - - -

Samba4 showvars test

- -<% - function showArray(name, array) { - write("

Array: " + name + "

\n"); - for (v in array) { - write(name + "[" + v + "]=" + array[v] + "
\n"); - } - } - - showArray("form", form); - showArray("headers", headers); - showArray("application", application); - showArray("cookies", cookies); - showArray("files", files); - showArray("request", request); - showArray("server", server); - showArray("session", session); -%> - -
-
-
- - - - diff --git a/swat/html/images/logo.png b/swat/html/images/logo.png deleted file mode 100644 index 6df4ace659..0000000000 Binary files a/swat/html/images/logo.png and /dev/null differ diff --git a/swat/html/index.html b/swat/html/index.html deleted file mode 100644 index 644eeebd61..0000000000 --- a/swat/html/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - -Samba4 ESP test - - -redirecting you to the test pages ... -<% - redirect("esptest/index.html"); -%> - - diff --git a/swat/images/logo.png b/swat/images/logo.png new file mode 100644 index 0000000000..6df4ace659 Binary files /dev/null and b/swat/images/logo.png differ diff --git a/swat/index.html b/swat/index.html new file mode 100644 index 0000000000..644eeebd61 --- /dev/null +++ b/swat/index.html @@ -0,0 +1,11 @@ + + +Samba4 ESP test + + +redirecting you to the test pages ... +<% + redirect("esptest/index.html"); +%> + + -- cgit