% local form, viewlibrary, page_info = ... %>
<% require("viewfunctions") %>
<% local domain = string.gsub(form.value.filename.value, "^.*/", "") %>
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(html.html_escape(form.descr), "\n", "
") %>
<% end %>
<% if form.errtxt then %><%= string.gsub(html.html_escape(form.errtxt), "\n", "
") %>
<% end %>
<% for line in string.gmatch(html.html_escape(form.value.filecontent.value), "([^\n]*)\n?") do %>
<%= line %> |
<% end %>
<% if form.value.filecontent.errtxt then %><%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "
") %>
<% end %>
<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %>
<% displayformstart(form) %>
Save and Apply Above Settings
<% displayformend(form) %>