summaryrefslogtreecommitdiffstats
path: root/dhcp-editspc-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp-editspc-html.lsp')
-rw-r--r--dhcp-editspc-html.lsp18
1 files changed, 9 insertions, 9 deletions
diff --git a/dhcp-editspc-html.lsp b/dhcp-editspc-html.lsp
index e06d045..a4397d9 100644
--- a/dhcp-editspc-html.lsp
+++ b/dhcp-editspc-html.lsp
@@ -1,30 +1,30 @@
-<?
+<%
local form = ...
local option = form.option;
local errcode = form.errcode
-?>
+%>
<h1>DHCPd - Advanced Global Configuration</h1>
-<form name="myform" action="<? io.write(option.script .. option.prefix ..
- option.controller .. "/" .. option.action .. option.extra) ?>" method="POST">
+<form name="myform" action="<% io.write(option.script .. option.prefix ..
+ option.controller .. "/" .. option.action .. option.extra) %>" method="POST">
-<pre style="color: #ff2020;"><? io.write( form.errcode.msg ) ?></pre>
+<pre style="color: #ff2020;"><% io.write( form.errcode.msg ) %></pre>
<h2>DHCPd - Dynamic Hosts</h2>
<p>
Enter dynamic hosts data, one per line <i>(e.g. hostname;00:11:22:33:44:55)</i>
</p>
-<textarea name="dynamic"><? io.write( form.value.dynamic ) ?></textarea>
+<textarea name="dynamic"><% io.write( form.value.dynamic ) %></textarea>
<h2>DHCPd - Pre Main Configuration</h2>
<p>
These fields below are copied into the final dhcpd.conf on configuration generation without any validation check. Do not use
them unless you know what you are doing.
</p>
-<textarea name="preconfig"><? io.write(form.value.preconfig) ?></textarea>
+<textarea name="preconfig"><% io.write(form.value.preconfig) %></textarea>
<h2>DHCPd - Post Main Configuration</h2>
-<textarea name="postconfig"><? io.write(form.value.postconfig) ?></textarea>
+<textarea name="postconfig"><% io.write(form.value.postconfig) %></textarea>
<h2>Submit/Cancel</h2>
<DL>
@@ -32,7 +32,7 @@ them unless you know what you are doing.
<dd><input type="submit" name="cmd" value="update" class="submit"></dd>
<dt>Cancel and go back</dt>
-<dd><form action="<? io.write(option.script .. option.prefix .. option.controller .. "/home") ?>" method="POST">
+<dd><form action="<% io.write(option.script .. option.prefix .. option.controller .. "/home") %>" method="POST">
<input type=submit name="cmd" value="back" class="submit"></form></dd>
</form>
</DL>