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
@@ -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");
+    }
+}