2016-07-26 23:30:51 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class InitialMails {
|
|
|
|
public static function retrieve() {
|
|
|
|
return [
|
|
|
|
'USER_SIGNUP' => [
|
|
|
|
'en' => [
|
|
|
|
'subject' => 'Signup {{to}} - OpenSupports',
|
|
|
|
'body' => file_get_contents('data/mail-templates/user-signup-en.html')
|
|
|
|
],
|
|
|
|
'es' => [
|
|
|
|
'subject' => 'Registrado {{to}} - OpenSupports',
|
|
|
|
'body' => file_get_contents('data/mail-templates/user-signup-es.html')
|
|
|
|
]
|
2016-08-08 04:21:48 +02:00
|
|
|
],
|
2017-03-16 22:29:39 +01:00
|
|
|
'USER_PASSWORD' => [
|
2016-08-08 04:21:48 +02:00
|
|
|
'en' => [
|
|
|
|
'subject' => 'Password edited - OpenSupports',
|
|
|
|
'body' => file_get_contents('data/mail-templates/user-edit-password-en.html')
|
|
|
|
],
|
|
|
|
'es' => [
|
2017-03-16 22:29:39 +01:00
|
|
|
'subject' => 'Contraseña a cambiado - OpenSupports',
|
2016-08-08 04:21:48 +02:00
|
|
|
'body' => file_get_contents('data/mail-templates/user-edit-password-es.html')
|
|
|
|
]
|
|
|
|
],
|
2017-03-16 22:29:39 +01:00
|
|
|
'USER_EMAIL' => [
|
2016-08-08 04:21:48 +02:00
|
|
|
'en' => [
|
|
|
|
'subject' => 'Email edited - OpenSupports',
|
|
|
|
'body' => file_get_contents('data/mail-templates/user-edit-email-en.html')
|
|
|
|
],
|
|
|
|
'es' => [
|
2017-03-16 22:29:39 +01:00
|
|
|
'subject' => 'Email a cambiado - OpenSupports',
|
2016-08-08 04:21:48 +02:00
|
|
|
'body' => file_get_contents('data/mail-templates/user-edit-email-es.html')
|
|
|
|
]
|
2016-08-16 01:15:09 +02:00
|
|
|
],
|
|
|
|
'PASSWORD_FORGOT' => [
|
|
|
|
'en' => [
|
2017-03-16 22:29:39 +01:00
|
|
|
'subject' => 'Recover password - OpenSupports',
|
2016-08-16 01:15:09 +02:00
|
|
|
'body' => file_get_contents('data/mail-templates/user-password-forgot-en.html')
|
|
|
|
],
|
|
|
|
'es' => [
|
2017-03-16 22:29:39 +01:00
|
|
|
'subject' => 'Recuperar password - OpenSupports',
|
2016-08-16 01:15:09 +02:00
|
|
|
'body' => file_get_contents('data/mail-templates/user-password-forgot-es.html')
|
|
|
|
]
|
|
|
|
],
|
2017-01-16 20:07:53 +01:00
|
|
|
'USER_SYSTEM_DISABLED' => [
|
|
|
|
'en' => [
|
2017-03-16 22:29:39 +01:00
|
|
|
'subject' => 'Access system changed - OpenSupports',
|
2017-01-16 20:07:53 +01:00
|
|
|
'body' => file_get_contents('data/mail-templates/user-system-disabled-en.html')
|
|
|
|
],
|
|
|
|
'es' => [
|
2017-03-16 22:29:39 +01:00
|
|
|
'subject' => 'Sistema de acceso cambiado - OpenSupports',
|
2017-01-16 20:07:53 +01:00
|
|
|
'body' => file_get_contents('data/mail-templates/user-system-disabled-es.html')
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'USER_SYSTEM_ENABLED' => [
|
|
|
|
'en' => [
|
2017-03-16 22:29:39 +01:00
|
|
|
'subject' => 'Account created - OpenSupports',
|
2017-01-16 20:07:53 +01:00
|
|
|
'body' => file_get_contents('data/mail-templates/user-system-enabled-en.html')
|
|
|
|
],
|
|
|
|
'es' => [
|
2017-03-16 22:29:39 +01:00
|
|
|
'subject' => 'Cuenta creada - OpenSupports',
|
2017-01-16 20:07:53 +01:00
|
|
|
'body' => file_get_contents('data/mail-templates/user-system-enabled-es.html')
|
|
|
|
]
|
|
|
|
]
|
2016-07-26 23:30:51 +02:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|