summaryrefslogtreecommitdiffstats
path: root/fetchmail-expert-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
commit8de88823055770e63fdba0a381770ea75eb4abd4 (patch)
tree8378fa81212345ce9abd1340f3d903804a54e36f /fetchmail-expert-html.lsp
parente97bbf10b3cb72ede20f2929a034867ad920db9d (diff)
downloadacf-fetchmail-8de88823055770e63fdba0a381770ea75eb4abd4.tar.bz2
acf-fetchmail-8de88823055770e63fdba0a381770ea75eb4abd4.tar.xz
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/fetchmail/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'fetchmail-expert-html.lsp')
-rw-r--r--fetchmail-expert-html.lsp34
1 files changed, 17 insertions, 17 deletions
diff --git a/fetchmail-expert-html.lsp b/fetchmail-expert-html.lsp
index ca6e6da..533c32f 100644
--- a/fetchmail-expert-html.lsp
+++ b/fetchmail-expert-html.lsp
@@ -1,51 +1,51 @@
-<? local form = ...
+<% local form = ...
require("viewfunctions")
-?>
-<?
+%>
+<%
--[[ DEBUG INFORMATION
io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
io.write(html.cfe_unpack(form))
io.write("</span>")
--]]
-?>
+%>
<H1>SYSTEM INFO</H1>
<DL>
-<?
+<%
local myform = form.status
local tags = { "status", "version", "autostart", }
displayinfo(myform,tags,"viewonly")
-?>
+%>
</DL>
<H1>CONFIGURATION</H1>
-<? local myform = form.config ?>
-<form action="<?= form.option.script .. "/" .. form.option.prefix ..
- form.option.controller .. "/" .. form.option.action ?>" method="POST">
+<% local myform = form.config %>
+<form action="<%= form.option.script .. "/" .. form.option.prefix ..
+ form.option.controller .. "/" .. form.option.action %>" method="POST">
<H2>EXPERT CONFIGURATION</H2>
<H3>FILE DETAILS</H3>
<DL>
-<?
+<%
local tags = { "filename", "filesize", "mtime", "sumerrors" }
displayinfo(myform,tags,"viewonly")
-?>
+%>
</DL>
<H3>FILE CONTENT</H3>
-<?
+<%
io.write(html.form[form.config.filecontent.type](form.config.filecontent))
-?>
+%>
<H2>SAVE AND APPLY ABOVE SETTINGS</H2>
<DL>
-<?
+<%
local tags = { "cmdsave", }
displayinfo(myform,tags)
-?>
+%>
</DL>
-<?
+<%
-- Management buttons
local myform = form.management
local tags = { "start", "stop", "restart" }
@@ -54,5 +54,5 @@ if (myform) then
displaymanagement(myform,tags)
io.write("</DL>")
end
-?>
+%>
</form>