Implemented new type: mail

* display and link clientside mails to other types and events
 * fixed favorites menu for new types
 * fixed sorting column triggered spells in enchantment listview
 * some misc cleanups
This commit is contained in:
Sarjuuk
2018-12-15 01:49:55 +01:00
parent ccef11323b
commit fd04e9f977
38 changed files with 682 additions and 171 deletions

View File

@@ -0,0 +1,21 @@
DROP TABLE IF EXISTS `aowow_mailtemplate`;
DROP TABLE IF EXISTS `aowow_mails`;
CREATE TABLE `aowow_mails` (
`id` smallint(5) unsigned NOT NULL,
`subject_loc0` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`subject_loc2` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`subject_loc3` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`subject_loc4` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`subject_loc6` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`subject_loc8` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`text_loc0` text COLLATE utf8mb4_unicode_ci NOT NULL,
`text_loc2` text COLLATE utf8mb4_unicode_ci NOT NULL,
`text_loc3` text COLLATE utf8mb4_unicode_ci NOT NULL,
`text_loc4` text COLLATE utf8mb4_unicode_ci NOT NULL,
`text_loc6` text COLLATE utf8mb4_unicode_ci NOT NULL,
`text_loc8` text COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
UPDATE aowow_dbversion SET `sql` = CONCAT(IFNULL(`sql`, ''), ' mails');