diff options
Diffstat (limited to 'shorewall-read-html.lsp')
-rw-r--r-- | shorewall-read-html.lsp | 34 |
1 files changed, 4 insertions, 30 deletions
diff --git a/shorewall-read-html.lsp b/shorewall-read-html.lsp index 7f23c8f..5910c30 100644 --- a/shorewall-read-html.lsp +++ b/shorewall-read-html.lsp @@ -92,35 +92,9 @@ <dd><form action="xxx" method="POST"><input type=submit name="cmd" value="refresh" style="width:100px"></form> Involves black list, ECN control rules, and traffic shaping...</dd> --]] ?> - -<? --[[ DEBUG INFORMATION...?> -<span style='color:#D2691E;font-family:courier;'> -<h3>THIS VIEW CONTAINS THE FOLLOWING VARIABLES/TABLES</h2> ------------- START DEBUG INFORMATION ------------<BR> <? ---print ("<span style='color:darkblue;font-family:courier;'>") -for a,b in pairs(view) do - if not (type(b) == "table") then - print ("<b>" .. a .. "</b>: ><span2 style='color:black'>" .. b .. "</span2><<BR>") - else - print ("<b>" .. a .. "</b>:...<BR>") - for c,d in pairs(view[a]) do - if not (type(d) == "table") then - print ("<b> { " .. c .. "</b>: ><span2 style='color:black'>" .. d .. "</span2>< <B> }</B><BR>") - else - print ("<b> { " .. c .. "</b>:...<BR>") - for e,f in pairs(view[a][c]) do - if not (type(f) == "table") then - print ("<b> { { " .. e .. "</b>: ><span2 style='color:black'>" .. f .. "</span2>< <B> } }</B><BR>") - else - print ("<b> { { " .. e .. "</b>:... (table is not visible at the moment)<BR>") - end - end - end - end - end -a,b,c,d,e,f,g,h,i,j = nil,nil,nil,nil,nil,nil,nil,nil,nil,nil -end -print ("------------ END DEBUG INFORMATION ------------</span>") +--[[ DEBUG INFORMATION +require("debugs") +io.write(debugs.variables(view)) +--]] ?> -<? --]] ?> |