diff options
Diffstat (limited to 'snort-expert-html.lsp')
-rw-r--r-- | snort-expert-html.lsp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/snort-expert-html.lsp b/snort-expert-html.lsp index 9de9b0f..ab2ee56 100644 --- a/snort-expert-html.lsp +++ b/snort-expert-html.lsp @@ -1,5 +1,11 @@ <? local view = ... ?> - +<? +--[[ DEBUG INFORMATION +io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") +io.write(html.cfe_unpack(view)) +io.write("</span>") +--]] +?> <h1>SYSTEM INFO</h1> <dl> @@ -57,17 +63,18 @@ </form></dd> </dl> -<? if (view.startstop) and (view.startstop.cmdresult) then ?> +<? if (view.startstop) then ?> <dl> <dt>Previous action result</dt> -<dd><pre><?= view.startstop.cmdresult?></pre></dd> +<dd><pre><?= view.startstop?></pre></dd> </dl> <? end ?> <? --[[ DEBUG INFORMATION -require("debugs") -io.write(debugs.variables(view)) +io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") +io.write(html.cfe_unpack(form)) +io.write("</span>") --]] ?> |