From 7eb0c7fa04e72496e07d25b21bf6a1f2b8f3ac41 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 28 Jul 2008 06:48:16 +0000 Subject: use <% %> instead of git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed --- tinydns-edit-html.lsp | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'tinydns-edit-html.lsp') diff --git a/tinydns-edit-html.lsp b/tinydns-edit-html.lsp index 44cf642..a100c27 100644 --- a/tinydns-edit-html.lsp +++ b/tinydns-edit-html.lsp @@ -1,6 +1,6 @@ - - - +<% local form, viewlibrary, page_info = ... %> +<% require("viewfunctions") %> +<% form = viewlibrary.dispatch_component(page_info.prefix .. page_info.controller .. "/editfile", form, true) %> -DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(form)) io.write("
") --]] -?> +%>

Configuration

Expert Configuration

File Details

- +%>

File Entries

-

") ?>

-

") ?>

+<% if form.descr then %>

<%= string.gsub(form.descr, "\n", "
") %>

<% end %> +<% if form.errtxt then %>

<%= string.gsub(form.errtxt, "\n", "
") %>

<% end %> - +<% for line in string.gmatch(form.value.filecontent.value.."\n", "([^\n]*)\n") do %> - + - +<% end %>
<%= line %>
-

") ?>

+<% if form.value.filecontent.errtxt then %>

<%= string.gsub(form.value.filecontent.errtxt, "\n", "
") %>

<% end %> -
" method="POST"> - - +" method="POST"> + +

Save and Apply Above Settings

-
+
-- cgit v1.2.3