diff options
Diffstat (limited to 'swat/install')
-rw-r--r-- | swat/install/newuser.esp | 3 | ||||
-rw-r--r-- | swat/install/provision.esp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/swat/install/newuser.esp b/swat/install/newuser.esp index 42c109df6b..afcd9e4d55 100644 --- a/swat/install/newuser.esp +++ b/swat/install/newuser.esp @@ -1,5 +1,6 @@ <% page_header("columns", "Add a user", "/install/menu.js"); + include("/scripting/forms.js"); libinclude("base.js"); libinclude("provision.js"); %> @@ -34,7 +35,7 @@ if (form['submit'] == "Add" && } newuser(form.USERNAME, form.UNIXNAME, form.PASSWORD, writefln); } else { - display_form(f); + f.display(); } %> diff --git a/swat/install/provision.esp b/swat/install/provision.esp index 3eb7ba720d..12e378475a 100644 --- a/swat/install/provision.esp +++ b/swat/install/provision.esp @@ -1,5 +1,6 @@ <% page_header("columns", "Provisioning", "/install/menu.js"); + include("/scripting/forms.js"); libinclude("base.js"); libinclude("provision.js"); %> @@ -58,7 +59,7 @@ lp.set("realm", subobj.REALM); if (form['submit'] == "Provision") { provision(subobj, writefln); } else { - display_form(f); + f.display(); } %> |