<% local form, viewlibrary, page_info = ... %> <% require("viewfunctions") %> <% form = viewlibrary.dispatch_component(page_info.prefix .. page_info.controller .. "/editfile", form, true) %> <% --[[ DEBUG INFORMATION io.write("

DEBUGGING

DEBUG INFO: CFE

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

Configuration

Expert Configuration

File Details

<% displayitem(form.value.filename) displayitem(form.value.filesize) displayitem(form.value.mtime) %>

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(html.html_escape(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">

Save and Apply Above Settings