blob: d8acbc6a7939b93d170214035f6db5790906b098 (
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)
%>
|