From 7e671ae37f6c951d4db18c446eed52685200b2e0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 11 Sep 2008 16:47:45 +0200 Subject: rename swat => swat2, so that we don't conflict with samba3 metze (This used to be commit bf852a3dbeee8900fa36978f08a5cdceabcbd926) --- swat2/esptest/include.esp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 swat2/esptest/include.esp (limited to 'swat2/esptest/include.esp') diff --git a/swat2/esptest/include.esp b/swat2/esptest/include.esp new file mode 100644 index 0000000000..5d558d59dc --- /dev/null +++ b/swat2/esptest/include.esp @@ -0,0 +1,14 @@ +<% page_header("columns", "ESP Include Test", "esptest"); %> + +including /scripting/test.ejs

+<% include("/scripting/test.ejs"); %> +calling a function from test.ejs ...

+<% showArray("request", request); %> + +including /scripting/test.esp

+<% include /scripting/test.esp %> +calling a function from test.esp ...

+<% res = testfn('foo'); %> +result is: @@res + +<% page_footer(); %> -- cgit