From 2f055ca68b76f1eff5ebce5c2fb29e0294be3a4c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 May 2005 08:30:24 +0000 Subject: r7095: more html tidying (This used to be commit 314bc44afe44ac6e9fcb194d54b8e1848adf94ed) --- swat/esptest/include.esp | 4 ---- swat/esptest/loadparm.esp | 15 +++++++-------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/swat/esptest/include.esp b/swat/esptest/include.esp index f7fd5e0b91..37772fd03f 100644 --- a/swat/esptest/include.esp +++ b/swat/esptest/include.esp @@ -11,8 +11,4 @@ calling a function from test.esp ...

<% res = testfn('foo'); %> result is: @@res -

-
-
- <% page_footer(); %> 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 @@

Samba4 loadparm test

-
- Share:
- Parameter:
- -
-
- <% +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) { -- cgit