summaryrefslogtreecommitdiffstats
path: root/vmail-editusersettings-html.lsp
blob: b5738926ed5bd8c21e9c00b84af063bbee5985fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<% local form, viewlibrary, page_info = ... 
require("viewfunctions")
%>

<H1>Settings for <%= html.html_escape(form.value.firstname.value).." "..html.html_escape(form.value.lastname.value) %> (<%= html.html_escape(form.value.username.value) %>)</H1>
<%
	if page_info.action ~= "createuser" and form.value.username then
		form.value.username.readonly = true
	end
	if form.value["vm-password"] then form.value["vm-password"].type = "password" end
	if form.value["vm-password-confirm"] then form.value["vm-password-confirm"].type = "password" end
	local order = {"username", "firstname", "lastname", "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"}
	displayform(form, order, nil, page_info)
%>