mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-16 03:06:42 -04:00
Add settings (#85)
* Add settings * Fix luacheck * Fix unupdatable sorting fields values (settings) * Better settings names * Better sort settings behaviour * Rework set_setting() * Rework settings storage * Better get sorting filters (inbox/outbox) * Fix reseting/saving settings
This commit is contained in:
parent
a8632255b3
commit
720029a73e
16 changed files with 322 additions and 103 deletions
|
@ -249,8 +249,8 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
elseif fields.maillists then
|
||||
mail.show_maillists(name)
|
||||
|
||||
elseif fields.about then
|
||||
mail.show_about(name)
|
||||
elseif fields.options then
|
||||
mail.show_options(name)
|
||||
|
||||
elseif fields.selectall then
|
||||
if formname == "mail:inbox" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue