From f9780f645bc94f2f79fc4e266e671d15232d4b9d Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 4 Mar 2014 02:41:32 +0000 Subject: Change HTML views to use htmlviewfunctions.displayheader Modified some models to change labels --- modules-edit-html.lsp | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) mode change 100644 => 120000 modules-edit-html.lsp (limited to 'modules-edit-html.lsp') diff --git a/modules-edit-html.lsp b/modules-edit-html.lsp deleted file mode 100644 index 84ad35b..0000000 --- a/modules-edit-html.lsp +++ /dev/null @@ -1,39 +0,0 @@ -<% local form, viewlibrary, page_info, session = ... %> -<% htmlviewfunctions = require("htmlviewfunctions") %> -<% html = require("acf.html") %> - -<% htmlviewfunctions.displaycommandresults({"reload"}, session) %> - -<% if form.type == "form" then %> -

Configuration

-

Expert Configuration

-<% else %> -

View File

-<% end %> -

File Details

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

File Content

-<% if form.type == "form" then %> -<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %> -<% htmlviewfunctions.displayformstart(form) %> - -<% end %> - -<% if form.value.filecontent.errtxt then %>

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

<% end %> -<% if form.value.filecontent.descr then %>

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

<% end %> - -<% if form.type == "form" then %> -<% htmlviewfunctions.displayformend(form) %> -<% end %> - - -

Reload Modules

-

Reload Modules

-
">
diff --git a/modules-edit-html.lsp b/modules-edit-html.lsp new file mode 120000 index 0000000..15b1930 --- /dev/null +++ b/modules-edit-html.lsp @@ -0,0 +1 @@ +../filedetails-html.lsp \ No newline at end of file -- cgit v1.2.3