diff options
Diffstat (limited to 'gnats-queryeditpr-html.lsp')
-rw-r--r-- | gnats-queryeditpr-html.lsp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gnats-queryeditpr-html.lsp b/gnats-queryeditpr-html.lsp index fb4ce57..247c5a8 100644 --- a/gnats-queryeditpr-html.lsp +++ b/gnats-queryeditpr-html.lsp @@ -1,13 +1,13 @@ -<? 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 @@ -40,17 +40,17 @@ function displayinfo(myform,tags,viewtype) end end end -?> +%> <H1>Edit PR</H1> <form name="cmd" action="editpr" method="POST"> <DL> -<? +<% local myform = form.query local tags = { "pr","pr_cmd", } displayinfo(myform,tags) -?> +%> </DL> </form> |