summaryrefslogtreecommitdiffstats
path: root/iptables-editrule-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'iptables-editrule-html.lsp')
-rw-r--r--iptables-editrule-html.lsp60
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) %>