r7088: start on some real structure for the SWAT web pages
[samba.git] / swat / esptest / showvars.esp
1 <% page_header("columns", "ESP standard variables test"); %>
2
3 <h1>Samba4 showvars test</h1>
4
5 <%
6    function showArray(name, array) {
7       write("<h3>Array: " + name + "</h3>\n");
8       if (array == undefined) {
9          write("undefined<br>\n");
10       } else {
11             for (v in array) {
12                   write(name + "[" + v + "]=" + array[v] + "<br>\n");
13             }
14       }
15    }
16
17    showArray("headers", headers);
18    showArray("application", application);
19    showArray("cookies", cookies);
20    showArray("files", files);
21    showArray("request", request);
22    showArray("server", server);
23    showArray("session", session);
24 %>
25
26 <form name="Cancel" method="POST" action="/"> 
27     <input name="submit" type="submit" value="Cancel"><br>
28 </form>
29
30 </ul>
31
32 <% page_footer(); %>