summaryrefslogtreecommitdiff
path: root/swat/scripting/test.ejs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-09-07 03:08:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:05:21 -0500
commitf8573766bc17af0afacc5d44d3c3d8234b426dbf (patch)
tree55dfe87448d6332ff48ba6e74fd3226fdd7422f6 /swat/scripting/test.ejs
parent8f3ab786f03e1bb5bf73fe9d7264b1b0bbb90a75 (diff)
downloadsamba-f8573766bc17af0afacc5d44d3c3d8234b426dbf.tar.gz
samba-f8573766bc17af0afacc5d44d3c3d8234b426dbf.tar.bz2
samba-f8573766bc17af0afacc5d44d3c3d8234b426dbf.zip
r24985: Start to revert us back to the old-style SWAT, while trying not to
loose some of the fixes in the meantime. Andrew Bartlett (This used to be commit 13acff5ed259e7b5859fd2324ea7740b8f9e5fd7)
Diffstat (limited to 'swat/scripting/test.ejs')
-rw-r--r--swat/scripting/test.ejs10
1 files changed, 10 insertions, 0 deletions
diff --git a/swat/scripting/test.ejs b/swat/scripting/test.ejs
new file mode 100644
index 0000000000..8e7047f51c
--- /dev/null
+++ b/swat/scripting/test.ejs
@@ -0,0 +1,10 @@
+
+/*
+ some test ejs code
+*/
+function showArray(name, array) {
+ write("<h3>Array: " + name + "</h3>\n");
+ for (v in array) {
+ write(name + "[" + v + "]=" + array[v] + "<br/>\n");
+ }
+}