summaryrefslogtreecommitdiffstats
path: root/chrony-logfile-html.lsp
diff options
context:
space:
mode:
authorNatanael Copa <natanael.copa@gmail.com>2008-07-28 06:48:16 +0000
committerNatanael Copa <natanael.copa@gmail.com>2008-07-28 06:48:16 +0000
commit6c84e71f36f17f0519ba386bcb7dbc5aff33ceec (patch)
tree98a5f603823feb2d2fd4a3730364a18e57a33c25 /chrony-logfile-html.lsp
parent7df3bbf3c47e2961c441fc480ab8eabe9e0aea8d (diff)
downloadacf-chrony-6c84e71f36f17f0519ba386bcb7dbc5aff33ceec.tar.bz2
acf-chrony-6c84e71f36f17f0519ba386bcb7dbc5aff33ceec.tar.xz
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/chrony/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
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>