From 0ed315dc3cf0d6244d656e2d68fe577797c2e5f0 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 10 Apr 2014 05:40:47 +0000 Subject: Changes to use new htmlviewfunctions functions --- chrony-keyfile-html.lsp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'chrony-keyfile-html.lsp') diff --git a/chrony-keyfile-html.lsp b/chrony-keyfile-html.lsp index 644483b..8ae41fc 100644 --- a/chrony-keyfile-html.lsp +++ b/chrony-keyfile-html.lsp @@ -4,18 +4,13 @@ <% htmlviewfunctions.displaycommandresults({"enablekeyfile"}, session) %> -

Key File Status

<% + local header_level = htmlviewfunctions.displaysectionstart(form.value.status, page_info) htmlviewfunctions.displayitem(form.value.status) if form.value.status.errtxt then - -%> -

-
"> - -
-
-<% end + htmlviewfunctions.displayitem(cfe({type="form", value={redir=cfe({ type="hidden", value=page_info.orig_action })}, label="", option="Enable", action="enablekeyfile" }), page_info, 0) + end + htmlviewfunctions.displaysectionend(header_level) %> <% -- cgit v1.2.3