summaryrefslogtreecommitdiffstats
path: root/chrony-logfile-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'chrony-logfile-html.lsp')
-rw-r--r--chrony-logfile-html.lsp18
1 files changed, 9 insertions, 9 deletions
diff --git a/chrony-logfile-html.lsp b/chrony-logfile-html.lsp
index aa0b6e5..f3d889e 100644
--- a/chrony-logfile-html.lsp
+++ b/chrony-logfile-html.lsp
@@ -1,31 +1,31 @@
-<? local form = ... ?>
-<?
+<% local form = ... %>
+<%
require("viewfunctions")
-?>
+%>
<H1>SYSTEM INFO</H1>
<DL>
-<?
+<%
local myform = form.status
local tags = { "status", "version", "autostart", }
displayinfo(myform,tags,"viewonly")
-?>
+%>
</DL>
<form name="myform" action="" method="POST">
<h1>LOGFILE</h1>
<h2>Details</h2>
<DL>
-<?
+<%
local myform = form.logfile
local tags = { "filename", "filesize", "mtime", "sumerrors", }
displayinfo(myform,tags,"viewonly")
-?>
+%>
</DL>
<H3>FILE CONTENT</H3>
-<?
+<%
io.write(html.form[myform.filecontent.type](myform.filecontent))
-?>
+%>
</form>