r7093: - added a new Form() ejs object for producing simple forms.
[samba.git] / swat / esptest / showvars.esp
index 262a0962b7911dca6f2b5c3166357fd2b08833c9..40008a0d7d853aabf19d9b92688ce04dd5b9c532 100644 (file)
@@ -8,9 +8,7 @@
       if (array == undefined) {
         write("undefined<br>\n");
       } else {
-            for (v in array) {
-                 write(name + "[" + v + "]=" + array[v] + "<br>\n");
-           }
+       simple_table(array);
       }
    }
 
    showArray("session", session);
 %>
 
-<form name="Cancel" method="POST" action="/"> 
-    <input name="submit" type="submit" value="Cancel"><br>
-</form>
-
 </ul>
 
 <% page_footer(); %>