From 651ba7cce4fd5bc01edf6902e0f08c7c93527d00 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 24 Sep 2008 15:21:17 +0000 Subject: 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 --- openssh-config-html.lsp | 34 +++++++--------------------------- 1 file changed, 7 insertions(+), 27 deletions(-) (limited to 'openssh-config-html.lsp') 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("

DEBUGGING

DEBUG INFO: CFE

") -io.write(html.cfe_unpack(form)) -io.write("
") ---]] %> <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("status") end %> -

Configuration

-

Guided Configuration

-
-

Settings

-
-<% -local myform = form -local tags = { "Port", "ListenAddress", "PasswordAuthentication", "UseDNS",} -displayinfo(myform,tags) +

<%= form.label %>

+<% + form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action + local order = {"Port", "ListenAddress", "PermitRootLogin", "PasswordAuthentication", "UseDNS"} + displayform(form, order) %> -
-

Save

-
-<% -local myform = form -local tags = { "cmdsave",} -displayinfo(myform,tags) -%> -
-
- -<% 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 %> -- cgit v1.2.3