diff options
Diffstat (limited to 'vmail-editusersettings-html.lsp')
-rw-r--r-- | vmail-editusersettings-html.lsp | 15 |
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) +%> |