mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
r7095: more html tidying
(This used to be commit 314bc44afe44ac6e9fcb194d54b8e1848adf94ed)
This commit is contained in:
parent
1bf7a917b2
commit
2f055ca68b
@ -11,8 +11,4 @@ calling a function from test.esp ...<p>
|
||||
<% res = testfn('foo'); %>
|
||||
result is: @@res
|
||||
|
||||
<form name="Cancel" method="POST" action="/">
|
||||
<input name="submit" type="submit" value="Cancel"><br>
|
||||
</form>
|
||||
|
||||
<% page_footer(); %>
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user