From d1e09e2e6f9db62bbab84abb53e23ee73764178a Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Sun, 31 Dec 2006 20:12:12 +0000 Subject: r20446: rename swat directory to swat.obsolete; keeping it around since there is lots of useful info in it. (This used to be commit 5f9f72a9cfab80561b23284001b67c4ea961757b) --- swat.obsolete/esptest/include.esp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 swat.obsolete/esptest/include.esp (limited to 'swat.obsolete/esptest/include.esp') diff --git a/swat.obsolete/esptest/include.esp b/swat.obsolete/esptest/include.esp new file mode 100644 index 0000000000..5d558d59dc --- /dev/null +++ b/swat.obsolete/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