summaryrefslogtreecommitdiffstats
path: root/samba-editshare-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-12-02 21:46:41 +0000
committerTed Trask <ttrask01@yahoo.com>2008-12-02 21:46:41 +0000
commit26aa5c382a1b6d1a49a02b8ac098af93d86cd2f8 (patch)
tree372a1ebe364b20586c3c3174710db78b8f3be878 /samba-editshare-html.lsp
parent531d2d73fb4acfe9e4a4d4f49d615d16683acde9 (diff)
downloadacf-samba-26aa5c382a1b6d1a49a02b8ac098af93d86cd2f8.tar.bz2
acf-samba-26aa5c382a1b6d1a49a02b8ac098af93d86cd2f8.tar.xz
Modified samba to add listing, creating, editing, and deleting of shares.
git-svn-id: svn://svn.alpinelinux.org/acf/samba/trunk@1618 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'samba-editshare-html.lsp')
-rw-r--r--samba-editshare-html.lsp10
1 files changed, 10 insertions, 0 deletions
diff --git a/samba-editshare-html.lsp b/samba-editshare-html.lsp
new file mode 100644
index 0000000..aa67e11
--- /dev/null
+++ b/samba-editshare-html.lsp
@@ -0,0 +1,10 @@
+<% local form, viewlibrary, page_info = ...
+require("viewfunctions")
+%>
+
+<H1><%= form.label %></H1>
+<%
+ form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
+ local order = {"name", "valid", "comment", "path", "browseable", "guest", "printable", "writable"}
+ displayform(form, order, {"other"})
+%>