1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00
samba-mirror/swat/esptest/include.html
Andrew Tridgell 74dda39226 r6989: - added support for esp style includes (which include a esp file, instead of a ejs file)
- added a test of esp style includes to the esptest html
(This used to be commit af3de9468ee5ba490c991901b7a4aa260c839876)
2007-10-10 13:17:03 -05:00

23 lines
488 B
HTML

<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.html">
<input name="submit" type="submit" value="Cancel"><br>
</form>
</BODY>
</HTML>