summaryrefslogtreecommitdiff
path: root/swat/esptest/include.esp
blob: 9b67a768da50967b99d08850ebf901ee8e3b79d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<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); %>

including /scripting/test.esp<p>
<% include /scripting/test.esp %>
calling a function from test.esp ...<p>
<% res = testfn('foo'); %>
result is: @@res

<form name="Cancel" method="POST" action="index.esp"> 
    <input name="submit" type="submit" value="Cancel"><br>
</form>

</BODY>
</HTML>