From 0f7314ea019a42e202346fc429330f1e8dfa9b7d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 May 2005 08:13:34 +0000 Subject: r7093: - added a new Form() ejs object for producing simple forms. - tidied up the html generation a bit (This used to be commit ddccf6d2f5c4757111010e3116b41e379a7dc2dd) --- swat/esptest/session.esp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'swat/esptest/session.esp') diff --git a/swat/esptest/session.esp b/swat/esptest/session.esp index 3d787012c6..ec747df442 100644 --- a/swat/esptest/session.esp +++ b/swat/esptest/session.esp @@ -43,18 +43,7 @@ if (request['REQUEST_METHOD'] == "POST") { } } -function showArray(name, array) { - write("

Array: " + name + "

\n"); - if (array == undefined) { - write("undefined
\n"); - return; - } - for (v in array) { - write(name + "[" + v + "]=" + array[v] + "
\n"); - } -} - -showArray("session", session); +simple_table(session); write("SessionId=" + request['SESSION_ID'] + "
\n"); %> -- cgit