summaryrefslogtreecommitdiffstats
path: root/vmail-editusersettings-html.lsp
blob: e5f630c3287a21e6aee12e7d947b23f5c5a2a007 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<% 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>
<%
	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", "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)
%>