diff options
Diffstat (limited to 'tinydns-config-html.lsp')
-rwxr-xr-x | tinydns-config-html.lsp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tinydns-config-html.lsp b/tinydns-config-html.lsp index a213785..47c9191 100755 --- a/tinydns-config-html.lsp +++ b/tinydns-config-html.lsp @@ -1,24 +1,24 @@ -<? local form, viewlibrary, page_info = ... +<% local form, viewlibrary, page_info = ... 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("status") -end ?> +end %> -<h1><?= form.label ?></h1> -<? +<h1><%= form.label %></h1> +<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action displayform(form) -?> +%> -<? if viewlibrary and viewlibrary.dispatch_component then +<% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("startstop") -end ?> +end %> |