diff --git a/BUGS b/BUGS index a107d8f..e69de29 100644 --- a/BUGS +++ b/BUGS @@ -1 +0,0 @@ -Adding a group rating of {attached_node = 1} does not work. diff --git a/NOTES b/NOTES index 14461c5..ff5b36a 100644 --- a/NOTES +++ b/NOTES @@ -1,3 +1,4 @@ * Upstream books allow to save contents if title has only a space character. Possibly use some string manipulation to remove any preceeding spaces, and submit upstream. +* Adding a group rating of {attached_node = 1} does not work. diff --git a/init.lua b/init.lua index 6f95d22..918cda0 100644 --- a/init.lua +++ b/init.lua @@ -59,7 +59,8 @@ local function on_rightclick(pos, node, clicker, itemstack, pointed_thing) local formspec if owner == player_name then - formspec = "size[8,8]" .. default.gui_bg .. + formspec = "size[8,8]" .. + default.gui_bg .. default.gui_bg_img .. "field[0.5,1;7.5,0;title;Title:;" .. minetest.formspec_escape(title) .. "]" .. @@ -67,7 +68,8 @@ local function on_rightclick(pos, node, clicker, itemstack, pointed_thing) minetest.formspec_escape(text) .. "]" .. "button_exit[2.5,7.5;3,1;save;Save]" else - formspec = "size[8,8]" .. default.gui_bg .. + formspec = "size[8,8]" .. + default.gui_bg .. default.gui_bg_img .. "label[0.5,0.5;by " .. owner .. "]" .. "tablecolumns[color;text]" ..