git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename swat => swat2, so that we don't conflict with samba3
[ira/wip.git]
/
swat2
/
scripting
/
test.ejs
diff --git a/swat2/scripting/test.ejs
b/swat2/scripting/test.ejs
new file mode 100644
(file)
index 0000000..
8e7047f
--- /dev/null
+++ b/
swat2/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");
+ }
+}