diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-11-26 15:03:26 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-11-26 15:03:26 +0000 |
commit | 5d3d65491dac81bf96d63e0fd8a5db25e4e5187c (patch) | |
tree | 848ae4e591945a4ea12e8c0dd7e395c6f94d973f /dnsmasq-config-html.lsp | |
parent | f1f65ecc48666b798846e10b704bd4b7a057fc61 (diff) | |
download | acf-dnsmasq-0.1.0.tar.bz2 acf-dnsmasq-0.1.0.tar.xz |
Modified dnsmasq to change parameters to lists, allow for multiple entries in config file, and add some new parameters. Also remove a bunch of unused code.v0.1.0
git-svn-id: svn://svn.alpinelinux.org/acf/dnsmasq/trunk@1612 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'dnsmasq-config-html.lsp')
-rw-r--r-- | dnsmasq-config-html.lsp | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/dnsmasq-config-html.lsp b/dnsmasq-config-html.lsp index 9272f40..cb0060a 100644 --- a/dnsmasq-config-html.lsp +++ b/dnsmasq-config-html.lsp @@ -18,7 +18,36 @@ end %> <H1>Config</H1> <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action - displayform(form) + displayformstart(form) +%> +<H2>General Parameters</H2> +<dl> +<% + displayformitem(form.value.interface, "interface") + displayformitem(form.value.listen_address, "listen_address") + displayformitem(form.value.domain, "domain") +%> +</dl> + +<H2>DNS Parameters</H2> +<dl> +<% + displayformitem(form.value.mx_host, "mx_host") +%> +</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") +%> +</dl> + +<% + displayformend(form) %> <% if viewlibrary and viewlibrary.dispatch_component then |