misc(emailer): Use constants for email types (#1794)

This commit is contained in:
Roman Kelesidis 2025-02-04 20:47:44 +03:00 committed by GitHub
commit c95d414ef6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 24 additions and 10 deletions

View file

@ -309,6 +309,9 @@ define('HTML_DISABLED', ' disabled ');
define('HTML_READONLY', ' readonly ');
define('HTML_SELECTED', ' selected ');
define('EMAIL_TYPE_HTML', 'text/html');
define('EMAIL_TYPE_TEXT', 'text/plain');
// $GPC
define('KEY_NAME', 0); // position in $GPC['xxx']
define('DEF_VAL', 1);