diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-11 02:24:19 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-11 02:24:19 +0000 |
commit | 8e3a16eb5bd0f1c038437c61244bb9407a1db573 (patch) | |
tree | 3b3892abef78f3e872cd18e153020f80d66ce0bf | |
parent | b2bb1ffb0544eb5e8fac0cc75b8a7f634d44eb77 (diff) | |
download | acf-openntpd-8e3a16eb5bd0f1c038437c61244bb9407a1db573.tar.bz2 acf-openntpd-8e3a16eb5bd0f1c038437c61244bb9407a1db573.tar.xz |
Changes to use new htmlviewfunctions functions
-rw-r--r-- | openntpd-config-html.lsp | 4 | ||||
-rw-r--r-- | openntpd-details-html.lsp | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/openntpd-config-html.lsp b/openntpd-config-html.lsp index e4bf203..34e58b4 100644 --- a/openntpd-config-html.lsp +++ b/openntpd-config-html.lsp @@ -4,7 +4,7 @@ html = require("acf.html") %> <% if viewlibrary and viewlibrary.dispatch_component then -viewlibrary.dispatch_component("status") + viewlibrary.dispatch_component("status") end %> -<% htmlviewfunctions.displayitem(form, 1, page_info) %> +<% htmlviewfunctions.displayitem(form, page_info) %> diff --git a/openntpd-details-html.lsp b/openntpd-details-html.lsp index da4db3b..6c355a3 100644 --- a/openntpd-details-html.lsp +++ b/openntpd-details-html.lsp @@ -1,4 +1,4 @@ -<% local data, viewlibrary = ... +<% local data, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> @@ -7,8 +7,4 @@ html = require("acf.html") viewlibrary.dispatch_component("status") end %> -<h2><%= html.html_escape(data.label) %></h2> -<% -htmlviewfunctions.displayitem(data.value.date) -htmlviewfunctions.displayitem(data.value.timechanged) -%> +<% htmlviewfunctions.displayitem(data, page_info) %> |