Merge branch 'pr_mail_playerselect'

This commit is contained in:
Alexander Weber 2017-12-14 12:14:45 +01:00
commit f88342c746

View File

@ -211,12 +211,12 @@ laptop.register_view("mail:compose", {
account.newmessage = account.newmessage or {}
local message = account.newmessage
local formspec = "background[-0.1,0.4;4.2,2.4;"..mtos.theme.contrast_bg.."]"..
"field[0.25,2;4,1;subject;Subject:;"..minetest.formspec_escape(message.subject or "").."]"..
local formspec = "background[0,0.4;8,2.4;"..mtos.theme.contrast_bg.."]"..
"label[0.25,2;Subject:]".."field[2.7,2;5,1;subject;;"..minetest.formspec_escape(message.subject or "").."]"..
"background[0,3.05;7.95,3.44;"..mtos.theme.contrast_bg.."]"..
"textarea[0.25,3;8,4;body;;"..minetest.formspec_escape(message.body or "").."]"..
mtos.theme:get_button("0,8;2,1", "major", "send", "Send message")..
"dropdown[0,0.75;4,1;receiver;"
"label[0.25,0.75;Receiver:]".."dropdown[2.4,0.75;5.2,1;receiver;"
local sortedtab = {}
for playername,_ in pairs(cloud) do