summaryrefslogtreecommitdiffstats
path: root/syslog-config-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'syslog-config-html.lsp')
-rw-r--r--syslog-config-html.lsp28
1 files changed, 8 insertions, 20 deletions
diff --git a/syslog-config-html.lsp b/syslog-config-html.lsp
index 03a7b4a..5d4061f 100644
--- a/syslog-config-html.lsp
+++ b/syslog-config-html.lsp
@@ -2,24 +2,22 @@
<? require("viewfunctions") ?>
<?
--[[ DEBUG INFORMATION
-io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
+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
- viewlibrary.dispatch_component("basicstatus")
+ viewlibrary.dispatch_component("status")
end ?>
-<? --]] ?>
-<H1>CONFIGURATION</H1>
+<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 ?>
<form action="" method="POST">
-<H2>ADVANCED CONFIGURATION</H2>
-<H3>GENERAL</H3>
+<H2>Advanced Configuration</H2>
+<H3>General</H3>
<DL>
<?
displayformitem(form.value.logfile, "logfile")
@@ -27,35 +25,25 @@ end ?>
displayformitem(form.value.smallerlogs, "smallerlogs")
?>
</DL>
-<H3>LOGROTATE</H3>
+<H3>Log Rotate</H3>
<DL>
<?
displayformitem(form.value.maxsize, "maxsize")
displayformitem(form.value.numrotate, "numrotate")
?>
</DL>
-<H3>REMOTE LOGGING</H3>
+<H3>Remote Logging</H3>
<DL>
<?
displayformitem(form.value.localandnetworklog, "localandnetworklog")
displayformitem(form.value.remotelogging, "remotelogging")
?>
</DL>
-<H2>SAVE AND APPLY ABOVE SETTINGS</H2>
+<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>
</form>
-<? ---[[ ?>
<? if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("startstop")
end
?>
-<? --]] ?>
-
-<?
---[[ 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>")
---]]
-?>