This commit is contained in:
Maksim Gamarnik 2016-03-28 20:08:46 +03:00
parent 758af96b60
commit 8749d4e5d0
1 changed files with 5 additions and 11 deletions

View File

@ -18,18 +18,12 @@
local function delete_world_formspec(dialogdata)
mm_texture.clear("header")
mm_texture.clear("footer")
minetest.set_clouds(false)
minetest.set_background("background",minetest.formspec_escape(mm_texture.basetexturedir)..'background.jpg')
--minetest.set_background("header",minetest.formspec_escape(mm_texture.basetexturedir)..'header.png')
local retval =
"size[12,6]" ..
"label[2,2;" ..
"size[12,2,true]" ..
"label[2,0;" ..
fgettext("Delete World \"$1\"?", dialogdata.delete_name) .. "]"..
"button[3.5,4.2;2.6,0.5;world_delete_confirm;" .. fgettext("Yes").. "]" ..
"button[6,4.2;2.8,0.5;world_delete_cancel;" .. fgettext("No") .. "]"
"button[3.5,1.2;2.6,0.5;world_delete_confirm;" .. fgettext("Yes").. "]" ..
"button[6,1.2;2.8,0.5;world_delete_cancel;" .. fgettext("No") .. "]"
return retval
end
@ -67,4 +61,4 @@ function create_delete_world_dlg(name_to_del,index_to_del)
retval.data.delete_index = index_to_del
return retval
end
end