diff options
-rw-r--r-- | chrony-config-html.lsp | 4 | ||||
-rw-r--r-- | chrony-details-html.lsp | 6 | ||||
-rw-r--r-- | chrony-keyfile-html.lsp | 6 | ||||
-rw-r--r-- | chrony-logfile-html.lsp | 1 |
4 files changed, 8 insertions, 9 deletions
diff --git a/chrony-config-html.lsp b/chrony-config-html.lsp index 185596f..fbf58e1 100644 --- a/chrony-config-html.lsp +++ b/chrony-config-html.lsp @@ -1,5 +1,5 @@ <% local form, viewlibrary, page_info, session = ... -require("viewfunctions") +require("htmlviewfunctions") %> <% if viewlibrary and viewlibrary.dispatch_component then @@ -9,5 +9,5 @@ end %> <H1>Config</H1> <% local order = { "server", "allow", "driftfile", "keyfile", "commandkey" } - displayform(form, order, nil, page_info) + htmlviewfunctions.displayform(form, order, nil, page_info) %> diff --git a/chrony-details-html.lsp b/chrony-details-html.lsp index 245912d..f7b219d 100644 --- a/chrony-details-html.lsp +++ b/chrony-details-html.lsp @@ -1,13 +1,13 @@ <% local data, viewlibrary = ... -require("viewfunctions") +require("htmlviewfunctions") %> <% viewlibrary.dispatch_component("status") %> <H2><%= html.html_escape(data.label) %></H2> <DL> -<% displayitem(data.value.time) %> -<% displayitem(data.value.tracking) %> +<% htmlviewfunctions.displayitem(data.value.time) %> +<% htmlviewfunctions.displayitem(data.value.tracking) %> </DL> <H3>Sources</H3> <DL><pre><%= html.html_escape(data.value.sources.value) %></pre></DL> diff --git a/chrony-keyfile-html.lsp b/chrony-keyfile-html.lsp index b90ee14..1925cab 100644 --- a/chrony-keyfile-html.lsp +++ b/chrony-keyfile-html.lsp @@ -1,12 +1,12 @@ <% local form, viewlibrary, page_info, session = ... %> -<% require("viewfunctions") %> +<% require("htmlviewfunctions") %> -<% displaycommandresults({"enablekeyfile"}, session) %> +<% htmlviewfunctions.displaycommandresults({"enablekeyfile"}, session) %> <H1>Key File Status</H1> <DL> <% - displayitem(form.value.status) + htmlviewfunctions.displayitem(form.value.status) if form.value.status.errtxt then %> diff --git a/chrony-logfile-html.lsp b/chrony-logfile-html.lsp index 24991da..6adde6f 100644 --- a/chrony-logfile-html.lsp +++ b/chrony-logfile-html.lsp @@ -1,5 +1,4 @@ <% local data, viewlibrary = ... -require("viewfunctions") %> <% if viewlibrary and viewlibrary.dispatch_component then |