From 98046f037200938bb2532e3c480946653a0b53bd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 26 May 2005 03:07:38 +0000 Subject: r6988: added a test of esp include() calls (This used to be commit a1eb98722d935b838b2ffaf5d329456d655c7b78) --- swat/esptest/include.html | 16 ++++++++++++++++ swat/esptest/index.html | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 swat/esptest/include.html 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 @@ + + +Samba4 ESP test + + +including /scripting/test.ejs

+<% include("/scripting/test.ejs"); %> +calling a function from test.ejs ...

+<% showArray("request", request); %> + +

+
+
+ + + 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"); %> -- cgit