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 | 7eb0c7fa04e72496e07d25b21bf6a1f2b8f3ac41 (patch) | |
tree | b20168e9e5bccceaf7f00ce94fdf7e2b3532706a /tinydns-config-html.lsp | |
parent | c796a251db813fcb96953a6c355b21d15a829c1a (diff) | |
download | acf-tinydns-7eb0c7fa04e72496e07d25b21bf6a1f2b8f3ac41.tar.bz2 acf-tinydns-7eb0c7fa04e72496e07d25b21bf6a1f2b8f3ac41.tar.xz |
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
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 %> |