From 23924170cc1db85fecf21e0bfebf4d7b4ac42c25 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 23 Jul 2005 09:05:34 +0000 Subject: r8720: split form object out to separate include file, and make it a real object, with a display() method (This used to be commit c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c) --- swat/esptest/session.esp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'swat/esptest/session.esp') diff --git a/swat/esptest/session.esp b/swat/esptest/session.esp index 0135221266..6637c782c0 100644 --- a/swat/esptest/session.esp +++ b/swat/esptest/session.esp @@ -1,4 +1,6 @@ -<% page_header("columns", "ESP session test", "/esptest/menu.js"); %> +<% page_header("columns", "ESP session test", "/esptest/menu.js"); + include("/scripting/forms.js"); +%>

Samba4 session test

@@ -12,7 +14,7 @@ f.submit[1] = "Reset"; f.submit[2] = "Destroy"; f.submit[3] = "Cancel"; -display_form(f); +f.display(); /* if its a post then the user has filled in the form, so report the values -- cgit