summaryrefslogtreecommitdiffstats
path: root/vmail-editusersettings-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-09-09 14:34:52 +0000
committerTed Trask <ttrask01@yahoo.com>2010-09-09 14:34:52 +0000
commitba26ef8ecef31ae3bd145b276994f76e5f633ebd (patch)
tree237b0b89d7548109d73d7c213859514dd890f852 /vmail-editusersettings-html.lsp
downloadacf-freeswitch-vmail-ba26ef8ecef31ae3bd145b276994f76e5f633ebd.tar.bz2
acf-freeswitch-vmail-ba26ef8ecef31ae3bd145b276994f76e5f633ebd.tar.xz
Initial cut - but pretty close to complete.v0.0.1
Diffstat (limited to 'vmail-editusersettings-html.lsp')
-rw-r--r--vmail-editusersettings-html.lsp15
1 files changed, 15 insertions, 0 deletions
diff --git a/vmail-editusersettings-html.lsp b/vmail-editusersettings-html.lsp
new file mode 100644
index 0000000..77cb5bf
--- /dev/null
+++ b/vmail-editusersettings-html.lsp
@@ -0,0 +1,15 @@
+<% local form, viewlibrary, page_info = ...
+require("viewfunctions")
+%>
+
+<H1>Settings for <%= html.html_escape(form.value.fullname.value) %> (<%= html.html_escape(form.value.username.value) %>)</H1>
+<%
+ form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
+ if page_info.action ~= "createuser" then
+ form.value.username.readonly = true
+ end
+ form.value["vm-password"].type = "password"
+ form.value["vm-password-confirm"].type = "password"
+ local order = {"username", "fullname", "vm-password", "vm-password-confirm", "vm-mailto", "vm-email-all-messages", "vm-attach-file", "vm-keep-local-after-email", "vm-notify-mailto", "vm-notify-email-all-messages", "vm-say-caller-id", "vm-say-envelope"}
+ displayform(form, order)
+%>