diff options
author | Natanael Copa <natanael.copa@gmail.com> | 2008-07-28 06:48:16 +0000 |
---|---|---|
committer | Natanael Copa <natanael.copa@gmail.com> | 2008-07-28 06:48:16 +0000 |
commit | ee7b3354f03abc865abe51a5ccea07b376d932ce (patch) | |
tree | 763f1dbbc436dd37e2bdcce8f9696a0204aa64e0 /shorewall-expert-html.lsp | |
parent | 273d7e350c05aaa70f2481969a63d8230d6dab61 (diff) | |
download | acf-shorewall-ee7b3354f03abc865abe51a5ccea07b376d932ce.tar.bz2 acf-shorewall-ee7b3354f03abc865abe51a5ccea07b376d932ce.tar.xz |
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'shorewall-expert-html.lsp')
-rw-r--r-- | shorewall-expert-html.lsp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/shorewall-expert-html.lsp b/shorewall-expert-html.lsp index 645d67c..61ad046 100644 --- a/shorewall-expert-html.lsp +++ b/shorewall-expert-html.lsp @@ -1,21 +1,21 @@ -<? local form, viewlibrary = ... +<% local form, viewlibrary = ... require("viewfunctions") -?> -<? +%> +<% --[[ DEBUG INFORMATION io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") io.write(html.cfe_unpack(form)) io.write("</span>") --]] -?> +%> -<? if viewlibrary and viewlibrary.dispatch_component then +<% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("statusbasic") -end ?> +end %> <h1>EXPERT CONFIGURATION</h1> -<? local myform = form.config ?> +<% local myform = form.config %> <TABLE> <TR style="background:#eee;font-weight:bold;"> <TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">File</TD> @@ -24,12 +24,12 @@ end ?> </TR> -<? for i = 1, table.maxn(myform) do ?> +<% for i = 1, table.maxn(myform) do %> <TR> - <TD style="padding-right:20px;white-space:nowrap;"><?= html.link{value = "edit?name=" .. myform[i].value , label=myform[i].value } ?></TD> - <TD style="padding-right:20px;white-space:nowrap;"><?= myform[i].size ?></TD> - <TD style="white-space:nowrap;" width="90%"><?= myform[i].mtime ?></TD> + <TD style="padding-right:20px;white-space:nowrap;"><%= html.link{value = "edit?name=" .. myform[i].value , label=myform[i].value } %></TD> + <TD style="padding-right:20px;white-space:nowrap;"><%= myform[i].size %></TD> + <TD style="white-space:nowrap;" width="90%"><%= myform[i].mtime %></TD> </TR> -<? end ?> +<% end %> </TABLE> |