summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swat/esptest/include.html16
-rw-r--r--swat/esptest/index.html2
2 files changed, 17 insertions, 1 deletions
diff --git a/swat/esptest/include.html b/swat/esptest/include.html
new file mode 100644
index 0000000000..b488631e83
--- /dev/null
+++ b/swat/esptest/include.html
@@ -0,0 +1,16 @@
+<HTML>
+<TITLE>
+Samba4 ESP test
+</TITLE>
+<BODY>
+including /scripting/test.ejs<p>
+<% include("/scripting/test.ejs"); %>
+calling a function from test.ejs ...<p>
+<% showArray("request", request); %>
+
+<form name="Cancel" method="POST" action="index.html">
+ <input name="submit" type="submit" value="Cancel"><br>
+</form>
+
+</BODY>
+</HTML>
diff --git a/swat/esptest/index.html b/swat/esptest/index.html
index 957e7d94fa..0c64b4ffcf 100644
--- a/swat/esptest/index.html
+++ b/swat/esptest/index.html
@@ -1,5 +1,5 @@
<%
- var tests = new Array("formtest", "showvars");
+ var tests = new Array("formtest", "showvars", "include");
%>
<HTML>