diff options
Diffstat (limited to 'gnats-report-html.lsp')
-rw-r--r-- | gnats-report-html.lsp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gnats-report-html.lsp b/gnats-report-html.lsp index b8a841e..b015971 100644 --- a/gnats-report-html.lsp +++ b/gnats-report-html.lsp @@ -1,12 +1,12 @@ -<? local form = ... +<% local form = ... --[[ 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>") --]] -?> +%> -<? +<% function displayinfo(myform,tags,viewtype) for k,v in pairs(tags) do if (myform[v]) and (myform[v]["value"]) then @@ -43,7 +43,7 @@ function displayinfo(myform,tags,viewtype) end end end -?> +%> <H1>REPORT A BUG</H1> @@ -51,29 +51,29 @@ end <H2>Info about you</H2> <DL> -<? +<% local myform = form.reportform local tags = { "reporter_name", "from" } displayinfo(myform,tags) -?> +%> </DL> <H2>Report description</H2> <DL> -<? +<% local myform = form.reportform local tags = { "synopsis","severity","priority","category","class","release","environment", "description", "howtorepeat", "fix", } displayinfo(myform,tags) -?> +%> </DL> <H2>Submit repport</H2> <DL> -<? +<% local myform = form.reportform local tags = { "submit", } displayinfo(myform,tags) -?> +%> </DL> </form> |