From f245e2e14659aa70b4d752df31745b1455cc955a Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 25 Sep 2008 17:27:00 +0000 Subject: Modified openntpd to use new libraries and lsp files. git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1514 ab2d0c66-481e-0410-8bed-d214d4d58bed --- openntpd-expert-html.lsp | 59 +----------------------------------------------- 1 file changed, 1 insertion(+), 58 deletions(-) mode change 100644 => 120000 openntpd-expert-html.lsp (limited to 'openntpd-expert-html.lsp') diff --git a/openntpd-expert-html.lsp b/openntpd-expert-html.lsp deleted file mode 100644 index 78ec15d..0000000 --- a/openntpd-expert-html.lsp +++ /dev/null @@ -1,58 +0,0 @@ -<% local form = ... -require("viewfunctions") -%> -<% ---[[ DEBUG INFORMATION -io.write("

DEBUGGING

DEBUG INFO: CFE

") -io.write(html.cfe_unpack(form)) -io.write("
") ---]] -%> - -

SYSTEM INFO

-
-<% -local myform = form.status -local tags = { "status", "version", "autostart", } -displayinfo(myform,tags,"viewonly") -%> -
- -
-

CONFIGURATION

-

Expert config

-

File details

-
-<% -local myform = form.file -local tags = { "filename", "filesize", "mtime", "sumerrors", } -displayinfo(myform,tags,"viewonly") -%> -
- -

FILE CONTENT

-<% -local myform = form.file -io.write(html.form[myform.filecontent.type](myform.filecontent)) -%> - -

SAVE AND APPLY ABOVE SETTINGS

-
-<% -local tags = { "cmdsave", } -displayinfo(myform,tags) -%> -
- -<% --- Management buttons -local myform = form.management -local tags = { "start", "stop", "restart" } -if (myform) then - io.write("

MANAGEMENT

\n
") - displaymanagement(myform,tags) - io.write("
") -end -%> -
- diff --git a/openntpd-expert-html.lsp b/openntpd-expert-html.lsp new file mode 120000 index 0000000..207f324 --- /dev/null +++ b/openntpd-expert-html.lsp @@ -0,0 +1 @@ +../expert-html.lsp \ No newline at end of file -- cgit v1.2.3