summaryrefslogtreecommitdiffstats
path: root/dnsmasq-config-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-18 01:11:13 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-18 01:11:13 +0000
commite61f08c5a9e86d5d313038765e7f261f0bc2258b (patch)
tree938555e928c2b6f0abb684bd9b1ac1f3b14c9fc9 /dnsmasq-config-html.lsp
parentde41e1d77f077140badcccd4005964c7ebaabc25 (diff)
downloadacf-dnsmasq-e61f08c5a9e86d5d313038765e7f261f0bc2258b.tar.bz2
acf-dnsmasq-e61f08c5a9e86d5d313038765e7f261f0bc2258b.tar.xz
Started work on updating for acf-core-0.15
Removed controllerfunctions library (still needs more work and corresponding work in model) Updated startstop functionality and deleted view Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
Diffstat (limited to 'dnsmasq-config-html.lsp')
-rw-r--r--dnsmasq-config-html.lsp28
1 files changed, 14 insertions, 14 deletions
diff --git a/dnsmasq-config-html.lsp b/dnsmasq-config-html.lsp
index a9db81a..bd10b92 100644
--- a/dnsmasq-config-html.lsp
+++ b/dnsmasq-config-html.lsp
@@ -1,5 +1,5 @@
<% local form, viewlibrary, page_info, session = ...
-require("viewfunctions")
+require("htmlviewfunctions")
%>
<% if viewlibrary and viewlibrary.dispatch_component then
@@ -9,47 +9,47 @@ end %>
<H1>Config</H1>
<%
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
- displayformstart(form)
+ htmlviewfunctions.displayformstart(form)
%>
</DL>
<H2>General Parameters</H2>
<DL>
<%
- displayformitem(form.value.interface, "interface")
- displayformitem(form.value.listen_address, "listen_address")
- displayformitem(form.value.domain, "domain")
+ htmlviewfunctions.displayformitem(form.value.interface, "interface")
+ htmlviewfunctions.displayformitem(form.value.listen_address, "listen_address")
+ htmlviewfunctions.displayformitem(form.value.domain, "domain")
%>
</DL>
<H2>DNS settings</H2>
<H3>DNS Parameters</H3>
<DL>
<%
- displayformitem(form.value.mx_host, "mx_host")
+ htmlviewfunctions.displayformitem(form.value.mx_host, "mx_host")
%>
</DL>
<H3>DNS filtering</H3>
<DL>
<%
- displayformitem(form.value.dns_filtering, "dns_filtering")
- displayformitem(form.value.dns_whitelist, "dns_whitelist")
- displayformitem(form.value.dns_default_address, "dns_default_address")
+ htmlviewfunctions.displayformitem(form.value.dns_filtering, "dns_filtering")
+ htmlviewfunctions.displayformitem(form.value.dns_whitelist, "dns_whitelist")
+ htmlviewfunctions.displayformitem(form.value.dns_default_address, "dns_default_address")
%>
</DL>
<H2>DHCP Parameters</H2>
<DL>
<%
- displayformitem(form.value.dhcp_range, "dhcp_range")
- displayformitem(form.value.no_dhcp_interface, "no_dhcp_interface")
- displayformitem(form.value.dhcp_host, "dhcp_host")
- displayformitem(form.value.dhcp_option, "dhcp_option")
+ htmlviewfunctions.displayformitem(form.value.dhcp_range, "dhcp_range")
+ htmlviewfunctions.displayformitem(form.value.no_dhcp_interface, "no_dhcp_interface")
+ htmlviewfunctions.displayformitem(form.value.dhcp_host, "dhcp_host")
+ htmlviewfunctions.displayformitem(form.value.dhcp_option, "dhcp_option")
%>
</DL>
<H2>Save Changes</H2>
<DL>
<%
- displayformend(form)
+ htmlviewfunctions.displayformend(form)
%>
</DL>