diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 01:23:12 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 01:23:12 +0000 |
commit | 15eff0f588679d3743475941345da9a46544f431 (patch) | |
tree | 9d17472b8f1935736fbab27e93eb1bb436ae4009 /iptables-editrule-html.lsp | |
parent | c7d77f2707c2898515042ab3ed22dfa10f15e47c (diff) | |
download | acf-iptables-15eff0f588679d3743475941345da9a46544f431.tar.bz2 acf-iptables-15eff0f588679d3743475941345da9a46544f431.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 'iptables-editrule-html.lsp')
-rw-r--r-- | iptables-editrule-html.lsp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/iptables-editrule-html.lsp b/iptables-editrule-html.lsp index 7e4d156..da1fc61 100644 --- a/iptables-editrule-html.lsp +++ b/iptables-editrule-html.lsp @@ -1,5 +1,5 @@ <% local form, viewlibrary, page_info = ... -require("viewfunctions") +require("htmlviewfunctions") %> <H1><%= html.html_escape(form.label) %></H1> @@ -10,47 +10,47 @@ form.value.table.type = "text" form.value.chain.readonly = true form.value.position.readonly = true form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action -displayformstart(form) +htmlviewfunctions.displayformstart(form) %> <H2>Rule Identification</H2><DL> <% -displayformitem(form.value.table) -displayformitem(form.value.chain) -displayformitem(form.value.position) +htmlviewfunctions.displayformitem(form.value.table) +htmlviewfunctions.displayformitem(form.value.chain) +htmlviewfunctions.displayformitem(form.value.position) %> </DL><H2>Basic Parameters</H2><DL> <% -displayformitem(form.value.jump) -displayformitem(form.value.protocol) -displayformitem(form.value.in_interface) -displayformitem(form.value.out_interface) -displayformitem(form.value.source) -displayformitem(form.value.destination) +htmlviewfunctions.displayformitem(form.value.jump) +htmlviewfunctions.displayformitem(form.value.protocol) +htmlviewfunctions.displayformitem(form.value.in_interface) +htmlviewfunctions.displayformitem(form.value.out_interface) +htmlviewfunctions.displayformitem(form.value.source) +htmlviewfunctions.displayformitem(form.value.destination) %> </DL><DL id="details"> <% -displayformitem(form.value.goto) -displayformitem(form.value.fragment) -displayformitem(form.value.set_counters) +htmlviewfunctions.displayformitem(form.value.goto) +htmlviewfunctions.displayformitem(form.value.fragment) +htmlviewfunctions.displayformitem(form.value.set_counters) %> </DL><H2>Extended Parameters</H2><DL> <% -displayformitem(form.value.comment) -displayformitem(form.value.addrtype_src_type) -displayformitem(form.value.addrtype_dst_type) -displayformitem(form.value.icmp_type) -displayformitem(form.value.src_range) -displayformitem(form.value.dst_range) -displayformitem(form.value.mac_source) -displayformitem(form.value.sports) -displayformitem(form.value.dports) -displayformitem(form.value.ports) -displayformitem(form.value.state) -displayformitem(form.value.tcp_sport) -displayformitem(form.value.tcp_dport) -displayformitem(form.value.udp_sport) -displayformitem(form.value.udp_dport) +htmlviewfunctions.displayformitem(form.value.comment) +htmlviewfunctions.displayformitem(form.value.addrtype_src_type) +htmlviewfunctions.displayformitem(form.value.addrtype_dst_type) +htmlviewfunctions.displayformitem(form.value.icmp_type) +htmlviewfunctions.displayformitem(form.value.src_range) +htmlviewfunctions.displayformitem(form.value.dst_range) +htmlviewfunctions.displayformitem(form.value.mac_source) +htmlviewfunctions.displayformitem(form.value.sports) +htmlviewfunctions.displayformitem(form.value.dports) +htmlviewfunctions.displayformitem(form.value.ports) +htmlviewfunctions.displayformitem(form.value.state) +htmlviewfunctions.displayformitem(form.value.tcp_sport) +htmlviewfunctions.displayformitem(form.value.tcp_dport) +htmlviewfunctions.displayformitem(form.value.udp_sport) +htmlviewfunctions.displayformitem(form.value.udp_dport) %> </DL><H2><%= html.html_escape(form.option) %></H2> -<% displayformend(form) %> +<% htmlviewfunctions.displayformend(form) %> |