% local form, viewlibrary, page_info = ... %>
<% require("viewfunctions") %>
<% if form.type == "form" then %>
Configuration
Expert Configuration
<% else %>
View File
<% end %>
File Details
<%
displayitem(form.value.filename)
displayitem(form.value.filesize)
displayitem(form.value.mtime)
if form.value.grep.value ~= "" then
displayitem(form.value.grep)
end
%>
File Content
<% if form.descr then %><%= string.gsub(form.descr, "\n", "
") %>
<% end %>
<% if form.errtxt then %><%= string.gsub(form.errtxt, "\n", "
") %>
<% end %>