From 290d71b1b8bba45be46087a78bdcbdd516199985 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 29 May 2009 11:47:59 +0200 Subject: initial commit based on weblog.tar.gz ncopa got by email. --- weblog-editsource-html.lsp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 weblog-editsource-html.lsp (limited to 'weblog-editsource-html.lsp') diff --git a/weblog-editsource-html.lsp b/weblog-editsource-html.lsp new file mode 100644 index 0000000..c05a556 --- /dev/null +++ b/weblog-editsource-html.lsp @@ -0,0 +1,13 @@ +<% local form, viewlibrary, page_info = ... +require("viewfunctions") +%> + +

<%= html.html_escape(form.label) %>

+<% + form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action + if page_info.action == "editsource" then + form.value.sourcename.readonly = true + end + local order = {"sourcename", "enabled", "source", "method", "userid", "passwd"} + displayform(form, order) +%> -- cgit v1.2.3