diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-05-30 08:13:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:15 -0500 |
commit | 0f7314ea019a42e202346fc429330f1e8dfa9b7d (patch) | |
tree | 2b799a07ac270fb01b23e5c6c47a1c1d8d193d39 /swat/esptest/session.esp | |
parent | 3f4f393c98e7bc3b2853c699a67a9f5fc2e7d20a (diff) | |
download | samba-0f7314ea019a42e202346fc429330f1e8dfa9b7d.tar.gz samba-0f7314ea019a42e202346fc429330f1e8dfa9b7d.tar.bz2 samba-0f7314ea019a42e202346fc429330f1e8dfa9b7d.zip |
r7093: - added a new Form() ejs object for producing simple forms.
- tidied up the html generation a bit
(This used to be commit ddccf6d2f5c4757111010e3116b41e379a7dc2dd)
Diffstat (limited to 'swat/esptest/session.esp')
-rw-r--r-- | swat/esptest/session.esp | 13 |
1 files changed, 1 insertions, 12 deletions
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("<h3>Array: " + name + "</h3>\n"); - if (array == undefined) { - write("undefined<br>\n"); - return; - } - for (v in array) { - write(name + "[" + v + "]=" + array[v] + "<br>\n"); - } -} - -showArray("session", session); +simple_table(session); write("SessionId=" + request['SESSION_ID'] + "<br>\n"); %> |