diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-07-04 13:35:07 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-07-04 13:35:07 +0000 |
commit | 9fcda9ad78f8c42ed291c10e8bfea3e3000c30a3 (patch) | |
tree | 82e16c3a24e531d759062933e3dcaa714ccfcbd9 /syslog-config-html.lsp | |
parent | 32d91ea7a92c5edee22900e8da1cafda058ca400 (diff) | |
download | acf-alpine-baselayout-9fcda9ad78f8c42ed291c10e8bfea3e3000c30a3.tar.bz2 acf-alpine-baselayout-9fcda9ad78f8c42ed291c10e8bfea3e3000c30a3.tar.xz |
Modified syslog to use controllerfunctions, modelfunctions, and common lsp files. Changed status->loginfo and basicstatus->status. Stopped expert from adding blank lines to the end.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1274 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'syslog-config-html.lsp')
-rw-r--r-- | syslog-config-html.lsp | 28 |
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>") ---]] -?> |