summaryrefslogtreecommitdiffstats
path: root/syslog-config-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
commit5aa214f71f495db0d0d75e9e16f2677d6a09f585 (patch)
tree051e1f9282f71121d7f8125dd22e32beb92c57e3 /syslog-config-html.lsp
parent9fcda9ad78f8c42ed291c10e8bfea3e3000c30a3 (diff)
downloadacf-alpine-baselayout-5aa214f71f495db0d0d75e9e16f2677d6a09f585.tar.bz2
acf-alpine-baselayout-5aa214f71f495db0d0d75e9e16f2677d6a09f585.tar.xz
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'syslog-config-html.lsp')
-rw-r--r--syslog-config-html.lsp34
1 files changed, 17 insertions, 17 deletions
diff --git a/syslog-config-html.lsp b/syslog-config-html.lsp
index 5d4061f..e6001b3 100644
--- a/syslog-config-html.lsp
+++ b/syslog-config-html.lsp
@@ -1,49 +1,49 @@
-<? local form, viewlibrary = ... ?>
-<? require("viewfunctions") ?>
-<?
+<% local form, viewlibrary = ... %>
+<% require("viewfunctions") %>
+<%
--[[ DEBUG INFORMATION
io.write("<H1>Debugging</H1><span style='color:red'><H2>Debug Info:</H2>")
io.write(html.cfe_unpack(form))
io.write("</span>")
--]]
-?>
+%>
-<? if viewlibrary and viewlibrary.dispatch_component then
+<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
-end ?>
+end %>
<H1>Configuration</H1>
-<? if form.descr then ?><P CLASS='descr'><?= string.gsub(form.descr, "\n", "<BR>") ?></P><? end ?>
-<? if form.errtxt then ?><P CLASS='error'><?= string.gsub(form.errtxt, "\n", "<BR>") ?></P><? end ?>
+<% if form.descr then %><P CLASS='descr'><%= string.gsub(form.descr, "\n", "<BR>") %></P><% end %>
+<% if form.errtxt then %><P CLASS='error'><%= string.gsub(form.errtxt, "\n", "<BR>") %></P><% end %>
<form action="" method="POST">
<H2>Advanced Configuration</H2>
<H3>General</H3>
<DL>
-<?
+<%
displayformitem(form.value.logfile, "logfile")
displayformitem(form.value.loglevel, "loglevel")
displayformitem(form.value.smallerlogs, "smallerlogs")
-?>
+%>
</DL>
<H3>Log Rotate</H3>
<DL>
-<?
+<%
displayformitem(form.value.maxsize, "maxsize")
displayformitem(form.value.numrotate, "numrotate")
-?>
+%>
</DL>
<H3>Remote Logging</H3>
<DL>
-<?
+<%
displayformitem(form.value.localandnetworklog, "localandnetworklog")
displayformitem(form.value.remotelogging, "remotelogging")
-?>
+%>
</DL>
<H2>Save and Apply Above Settings</H2>
-<DL><DT>Save/Apply above settings</DT><DD><input class="submit" type="submit" name="<?= form.option ?>" value="Save"></DD></DL>
+<DL><DT>Save/Apply above settings</DT><DD><input class="submit" type="submit" name="<%= form.option %>" value="Save"></DD></DL>
</form>
-<? if viewlibrary and viewlibrary.dispatch_component then
+<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("startstop")
end
-?>
+%>