r8722: make the menu handling considerably saner and easier to follow. The whole
[sfrench/samba-autobuild/.git] / swat / install / provision.esp
index 3eb7ba720d3b9dca2c84d016f999154935582193..d941fa0e61fc1aafcac8a0e0801c92f76a25cb3d 100644 (file)
@@ -1,5 +1,6 @@
-<% page_header("columns", "Provisioning", "/install/menu.js"); 
+<% page_header("columns", "Provisioning", "install"); 
 
 
+  include("/scripting/forms.js");
   libinclude("base.js");
   libinclude("provision.js");
 %>
   libinclude("base.js");
   libinclude("provision.js");
 %>
@@ -58,7 +59,7 @@ lp.set("realm", subobj.REALM);
 if (form['submit'] == "Provision") {
        provision(subobj, writefln);
 } else {
 if (form['submit'] == "Provision") {
        provision(subobj, writefln);
 } else {
-       display_form(f);
+       f.display();
 }
 %>
 
 }
 %>