diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-09-24 15:21:17 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-09-24 15:21:17 +0000 |
commit | 651ba7cce4fd5bc01edf6902e0f08c7c93527d00 (patch) | |
tree | b32701c4a876c5959b6208836fc250fcd34c725e /openssh-config-html.lsp | |
parent | 2a8551baa8f0025f836e7501c1cce71251357c78 (diff) | |
download | acf-openssh-651ba7cce4fd5bc01edf6902e0f08c7c93527d00.tar.bz2 acf-openssh-651ba7cce4fd5bc01edf6902e0f08c7c93527d00.tar.xz |
Modified openssh. Changed expert, status, and startstop to links. Modified config to use standard cfes. Modified peers to account for dns names.
git-svn-id: svn://svn.alpinelinux.org/acf/openssh/trunk@1489 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openssh-config-html.lsp')
-rw-r--r-- | openssh-config-html.lsp | 34 |
1 files changed, 7 insertions, 27 deletions
diff --git a/openssh-config-html.lsp b/openssh-config-html.lsp index e76d1a2..6990014 100644 --- a/openssh-config-html.lsp +++ b/openssh-config-html.lsp @@ -1,38 +1,18 @@ -<% local form, viewlibrary, page_info, session = ... +<% local form, viewlibrary, page_info = ... require("viewfunctions") ---[[ -io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") -io.write(html.cfe_unpack(form)) -io.write("</span>") ---]] %> <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("status") end %> -<H1>Configuration</H1> -<H2>Guided Configuration</H2> -<FORM NAME="configuration" ACTION="" METHOD="POST"> -<H3>Settings</H3> -<DL> -<% -local myform = form -local tags = { "Port", "ListenAddress", "PasswordAuthentication", "UseDNS",} -displayinfo(myform,tags) +<H1><%= form.label %></H1> +<% + form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action + local order = {"Port", "ListenAddress", "PermitRootLogin", "PasswordAuthentication", "UseDNS"} + displayform(form, order) %> -</DL> -<H3>Save</H3> -<DL> -<% -local myform = form -local tags = { "cmdsave",} -displayinfo(myform,tags) -%> -</DL> -</FORM> - -<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].startstop then +<% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("startstop") end %> |