Add trash

This commit is contained in:
Athozus 2023-06-13 20:13:35 +02:00
parent fab6f1a1e5
commit 8844454775
No known key found for this signature in database
GPG key ID: B50895022E8484BF
9 changed files with 208 additions and 10 deletions

View file

@ -14,7 +14,8 @@ function mail.show_inbox(name, sortfieldindex, sortdirection, filter)
local messages = mail.sort_messages(entry.inbox, sortfield, sortdirection == "2", filter)
local inbox_formspec = "size[8.5,10;]" .. mail.theme .. [[
tabheader[0.3,1;boxtab;]] .. S("Inbox") .. "," .. S("Outbox").. "," .. S("Drafts") .. [[;1;false;false]
tabheader[0.3,1;boxtab;]] ..
S("Inbox") .. "," .. S("Outbox").. "," .. S("Drafts") .. "," .. S("Trash") .. [[;1;false;false]
button[6,0.10;2.5,0.5;new;]] .. S("New") .. [[]
button[6,0.95;2.5,0.5;read;]] .. S("Read") .. [[]