summaryrefslogtreecommitdiff
path: root/swat/esptest/loadparm.esp
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-30 08:30:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:15 -0500
commit2f055ca68b76f1eff5ebce5c2fb29e0294be3a4c (patch)
tree0d381c7da0a459b2ab50bc15ebd48da0580bac72 /swat/esptest/loadparm.esp
parent1bf7a917b2d2ba2806e018ca385e44557c7dbf56 (diff)
downloadsamba-2f055ca68b76f1eff5ebce5c2fb29e0294be3a4c.tar.gz
samba-2f055ca68b76f1eff5ebce5c2fb29e0294be3a4c.tar.bz2
samba-2f055ca68b76f1eff5ebce5c2fb29e0294be3a4c.zip
r7095: more html tidying
(This used to be commit 314bc44afe44ac6e9fcb194d54b8e1848adf94ed)
Diffstat (limited to 'swat/esptest/loadparm.esp')
-rw-r--r--swat/esptest/loadparm.esp15
1 files changed, 7 insertions, 8 deletions
diff --git a/swat/esptest/loadparm.esp b/swat/esptest/loadparm.esp
index 0ed69d939a..5e45e4262c 100644
--- a/swat/esptest/loadparm.esp
+++ b/swat/esptest/loadparm.esp
@@ -2,14 +2,13 @@
<h1>Samba4 loadparm test</h1>
-<form name="LoadparmTest" method="POST" action="@@request['SCRIPT_NAME']">
- Share: <input name="Share" type="text" value=""><br>
- Parameter: <input name="Name" type="text" value=""><br>
- <input name="submit" type="submit" value="OK">
- <input name="submit" type="submit" value="Cancel"><br>
-</form>
-
<%
+var f = Form("LoadparmTest", 2, 1);
+f.element[0].label = "Share";
+f.element[1].label = "Parameter";
+f.submit[0] = "OK";
+
+display_form(f);
function stringVar(v) {
var type = typeof(v);
@@ -40,7 +39,7 @@ if (request['REQUEST_METHOD'] == "POST") {
var v;
share = form['Share'];
- name = form['Name'];
+ name = form['Parameter'];
if (share && name) {
v = lpGet(share, name);
} else if (name) {