diff options
author | Mika Havela <mika.havela@gmail.com> | 2007-12-01 08:19:17 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2007-12-01 08:19:17 +0000 |
commit | 7cd319e88461c9ef700d4925b236b5091aef00a1 (patch) | |
tree | 632620fa21098fd7105dbdce6f078dcc4aa754ba /shorewall-edit-html.lsp | |
parent | 2beb00dd81c1f2dceeef0e62cf89d2d1b1109b6a (diff) | |
download | acf-shorewall-7cd319e88461c9ef700d4925b236b5091aef00a1.tar.bz2 acf-shorewall-7cd319e88461c9ef700d4925b236b5091aef00a1.tar.xz |
Cleaning up dir and some code
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@397 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'shorewall-edit-html.lsp')
-rw-r--r-- | shorewall-edit-html.lsp | 38 |
1 files changed, 6 insertions, 32 deletions
diff --git a/shorewall-edit-html.lsp b/shorewall-edit-html.lsp index 86d5507..f9ce486 100644 --- a/shorewall-edit-html.lsp +++ b/shorewall-edit-html.lsp @@ -2,40 +2,8 @@ <html> <body> - <h1>Edit configuration</h1> -<? --[[ DEBUG INFORMATION...?> -<span style='color:#D2691E;font-family:courier;'>------------ START DEBUG INFORMATION ------------ -<h3>THIS VIEW CONTAINS THE FOLLOWING VARIABLES/TABLES</h2> -<? ---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>") -?> -<? --]] ?> - <h2>Details</h2> <dt>File name</dt> @@ -55,6 +23,12 @@ print ("------------ END DEBUG INFORMATION ------------</span>") <input type="submit" name="cmd" value="update"><p class="error"><?= view.filecontent.errtxt ?></p></form> +<? +--[[ DEBUG INFORMATION +require("debugs") +io.write(debugs.variables(view)) +--]] +?> </body> </html> |