mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-11 13:38:39 +00:00
update
This commit is contained in:
parent
ec95129bf9
commit
312f018643
|
|
@ -9,12 +9,12 @@
|
|||
"l11n": {
|
||||
"en": {
|
||||
"subject": "Registration confirmation",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Registration Confirmation</title></head><body style=\"font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Registration Confirmation</h1><p style=\"margin-bottom: 20px;\">Dear {user_name},</p><p style=\"margin-bottom: 20px;\">Thank you for registering for our service. Your account has been successfully created.</p><p style=\"margin-bottom: 20px;\">Your username is: {user_name}</p><p style=\"margin-bottom: 40px;\">To get started, please click on the following confirmation link:</p><a href=\"{confirmation_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Confirm</a><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Registration Confirmation</title></head><body style=\"font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Registration Confirmation</h1><p style=\"margin-bottom: 20px;\">Dear {user_name},</p><p style=\"margin-bottom: 20px;\">Thank you for registering for our service. Your account has been successfully created.</p><p style=\"margin-bottom: 20px;\">Your username is: {user_name}</p><p style=\"margin-bottom: 40px;\">To get started, please click on the following confirmation link:</p><a href=\"{confirmation_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Confirm</a><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"bodyalt": "Dear {user_name},\n\nThank you for registering for our service. Your account has been successfully created.\n\nYour username is: {user_name}\n\nTo get started, please click on the following confirmation link: {confirmation_link}\n\n\nJingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058"
|
||||
},
|
||||
"de": {
|
||||
"subject": "Registrierungsbestätigung",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Registrierungsbestätigung</title></head><body style=\"font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Registrierungsbestätigung</h1><p style=\"margin-bottom: 20px;\">Sehr geehrte/r {user_name},</p><p style=\"margin-bottom: 20px;\">Vielen Dank für Ihre Registrierung bei unserem Service. Ihr Konto wurde erfolgreich erstellt.</p><p style=\"margin-bottom: 20px;\">Ihr Benutzername lautet: {user_name}</p><p style=\"margin-bottom: 40px;\">Um loszulegen, klicken Sie bitte auf den folgenden Bestätigungslink:</p><a href=\"{confirmation_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Bestätigen</a><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Registrierungsbestätigung</title></head><body style=\"font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Registrierungsbestätigung</h1><p style=\"margin-bottom: 20px;\">Sehr geehrte/r {user_name},</p><p style=\"margin-bottom: 20px;\">Vielen Dank für Ihre Registrierung bei unserem Service. Ihr Konto wurde erfolgreich erstellt.</p><p style=\"margin-bottom: 20px;\">Ihr Benutzername lautet: {user_name}</p><p style=\"margin-bottom: 40px;\">Um loszulegen, klicken Sie bitte auf den folgenden Bestätigungslink:</p><a href=\"{confirmation_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Bestätigen</a><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"bodyalt": "Sehr geehrte/r {user_name},\n\nvielen Dank für Ihre Registrierung bei unserem Service. Ihr Konto wurde erfolgreich erstellt.\n\nIhr Benutzername lautet: {user_name}\n\nUm loszulegen, klicken Sie bitte auf den folgenden Bestätigungslink: {confirmation_link}\n\n\nJingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058"
|
||||
}
|
||||
},
|
||||
|
|
@ -30,12 +30,12 @@
|
|||
"l11n": {
|
||||
"en": {
|
||||
"subject": "Account recovery",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Account Recovery</title></head><body style=\"font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Account Recovery</h1><p style=\"margin-bottom: 20px;\">Dear {user_name},</p><p style=\"margin-bottom: 20px;\">We received a request to recover your account.</p><p style=\"margin-bottom: 40px;\">To reset your password, please click on the following recovery link:</p><a href=\"{reset_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Reset Password</a><p style=\"margin-top: 40px;\">If you did not request this account recovery, please contact our support team immediately.</p><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Account Recovery</title></head><body style=\"font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Account Recovery</h1><p style=\"margin-bottom: 20px;\">Dear {user_name},</p><p style=\"margin-bottom: 20px;\">We received a request to recover your account.</p><p style=\"margin-bottom: 40px;\">To reset your password, please click on the following recovery link:</p><a href=\"{reset_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Reset Password</a><p style=\"margin-top: 40px;\">If you did not request this account recovery, please contact our support team immediately.</p><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"bodyalt": "Dear {user_name},\n\nWe received a request to recover your account.\n\nTo reset your password, please click on the following recovery link: {reset_link}.\n\nIf you did not request this account recovery, please contact our support team immediately.\n\n\nJingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058"
|
||||
},
|
||||
"de": {
|
||||
"subject": "Kontowiederherstellung",
|
||||
"body": "<html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Kontowiederherstellung</title></head><body style=\"font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Kontowiederherstellung</h1><p style=\"margin-bottom: 20px;\">Lieber {user_name},</p><p style=\"margin-bottom: 20px;\">Wir haben eine Anfrage erhalten, um Ihr Konto wiederherzustellen.</p><p style=\"margin-bottom: 40px;\">Um Ihr Passwort zurückzusetzen, klicken Sie bitte auf den folgenden Wiederherstellungslink:</p><a href=\"{reset_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Passwort zurücksetzen</a><p style=\"margin-top: 40px;\">Wenn Sie diese Kontowiederherstellung nicht angefordert haben, kontaktieren Sie bitte umgehend unser Support-Team.</p><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"body": "<html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Kontowiederherstellung</title></head><body style=\"font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Kontowiederherstellung</h1><p style=\"margin-bottom: 20px;\">Lieber {user_name},</p><p style=\"margin-bottom: 20px;\">Wir haben eine Anfrage erhalten, um Ihr Konto wiederherzustellen.</p><p style=\"margin-bottom: 40px;\">Um Ihr Passwort zurückzusetzen, klicken Sie bitte auf den folgenden Wiederherstellungslink:</p><a href=\"{reset_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Passwort zurücksetzen</a><p style=\"margin-top: 40px;\">Wenn Sie diese Kontowiederherstellung nicht angefordert haben, kontaktieren Sie bitte umgehend unser Support-Team.</p><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"bodyalt": "Sehr geehrte/r {user_name},\n\nWir haben eine Anfrage erhalten, um Ihr Konto wiederherzustellen.\n\nUm Ihr Passwort zurückzusetzen, klicken Sie bitte auf den folgenden Wiederherstellungslink: {reset_link}.\n\nWenn Sie diese Kontowiederherstellung nicht angefordert haben, wenden Sie sich bitte umgehend an unser Support-Team.\n\n\nJingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058"
|
||||
}
|
||||
},
|
||||
|
|
@ -51,12 +51,12 @@
|
|||
"l11n": {
|
||||
"en": {
|
||||
"subject": "Failed login",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Registration Confirmation</title></head><body style=\"font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Registration Confirmation</h1><p style=\"margin-bottom: 20px;\">Dear [Name],</p><p style=\"margin-bottom: 20px;\">Thank you for registering for our service. Your account has been successfully created.</p><p style=\"margin-bottom: 20px;\">Your username is: [Username]</p><p style=\"margin-bottom: 40px;\">To get started, please click on the following confirmation link:</p><a href=\"[Login Link]\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Confirm</a><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Registration Confirmation</title></head><body style=\"font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Registration Confirmation</h1><p style=\"margin-bottom: 20px;\">Dear [Name],</p><p style=\"margin-bottom: 20px;\">Thank you for registering for our service. Your account has been successfully created.</p><p style=\"margin-bottom: 20px;\">Your username is: [Username]</p><p style=\"margin-bottom: 40px;\">To get started, please click on the following confirmation link:</p><a href=\"[Login Link]\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Confirm</a><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"bodyalt": "Dear [Name],\n\nThank you for registering for our service. Your account has been successfully created.\n\nYour username is: [Username]\n\nTo get started, please click on the following confirmation link: [Login Link].\n\n\nJingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058"
|
||||
},
|
||||
"de": {
|
||||
"subject": "Failed login",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Registration Confirmation</title></head><body style=\"font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Registration Confirmation</h1><p style=\"margin-bottom: 20px;\">Dear [Name],</p><p style=\"margin-bottom: 20px;\">Thank you for registering for our service. Your account has been successfully created.</p><p style=\"margin-bottom: 20px;\">Your username is: [Username]</p><p style=\"margin-bottom: 40px;\">To get started, please click on the following confirmation link:</p><a href=\"[Login Link]\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Confirm</a><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Registration Confirmation</title></head><body style=\"font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Registration Confirmation</h1><p style=\"margin-bottom: 20px;\">Dear [Name],</p><p style=\"margin-bottom: 20px;\">Thank you for registering for our service. Your account has been successfully created.</p><p style=\"margin-bottom: 20px;\">Your username is: [Username]</p><p style=\"margin-bottom: 40px;\">To get started, please click on the following confirmation link:</p><a href=\"[Login Link]\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">Confirm</a><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"bodyalt": "Dear [Name],\n\nThank you for registering for our service. Your account has been successfully created.\n\nYour username is: [Username]\n\nTo get started, please click on the following confirmation link: [Login Link].\n\n\nJingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058"
|
||||
}
|
||||
},
|
||||
|
|
@ -72,12 +72,12 @@
|
|||
"l11n": {
|
||||
"en": {
|
||||
"subject": "Account recovery",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Account Recovery</title></head><body style=\"font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Account Recovery</h1><p style=\"margin-bottom: 20px;\">Dear {user_name},</p><p style=\"margin-bottom: 20px;\">We received a request to recover your account.</p><p style=\"margin-bottom: 40px;\">Your new password is:</p><span href=\"{reset_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">{new_password}</span><p style=\"margin-top: 40px;\">If you did not request this account recovery, please contact our support team immediately.</p><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"body": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Account Recovery</title></head><body style=\"font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Account Recovery</h1><p style=\"margin-bottom: 20px;\">Dear {user_name},</p><p style=\"margin-bottom: 20px;\">We received a request to recover your account.</p><p style=\"margin-bottom: 40px;\">Your new password is:</p><span href=\"{reset_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">{new_password}</span><p style=\"margin-top: 40px;\">If you did not request this account recovery, please contact our support team immediately.</p><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"bodyalt": "Dear {user_name},\n\nWe received a request to recover your account.\n\nYour new password is: {new_password}.\n\nIf you did not request this account recovery, please contact our support team immediately.\n\n\nJingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058"
|
||||
},
|
||||
"de": {
|
||||
"subject": "Kontowiederherstellung",
|
||||
"body": "<html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Kontowiederherstellung</title></head><body style=\"font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Kontowiederherstellung</h1><p style=\"margin-bottom: 20px;\">Lieber {user_name},</p><p style=\"margin-bottom: 20px;\">Wir haben eine Anfrage erhalten, um Ihr Konto wiederherzustellen.</p><p style=\"margin-bottom: 40px;\">Ihr neues Passwort lautet:</p><span href=\"{reset_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">{new_password}</span><p style=\"margin-top: 40px;\">Wenn Sie diese Kontowiederherstellung nicht angefordert haben, kontaktieren Sie bitte umgehend unser Support-Team.</p><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"body": "<html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Kontowiederherstellung</title></head><body style=\"font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td><table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"600\" style=\"margin: 0 auto; background-color: #ffffff;\"><tr><td style=\"padding: 40px 0; text-align: center;\"><h1 style=\"margin-top: 0; color: #000000; font-size: 24px;\">Kontowiederherstellung</h1><p style=\"margin-bottom: 20px;\">Lieber {user_name},</p><p style=\"margin-bottom: 20px;\">Wir haben eine Anfrage erhalten, um Ihr Konto wiederherzustellen.</p><p style=\"margin-bottom: 40px;\">Ihr neues Passwort lautet:</p><span href=\"{reset_link}\" style=\"display: inline-block; padding: 10px 20px; background-color: #0070c0; color: #ffffff; text-decoration: none;\">{new_password}</span><p style=\"margin-top: 40px;\">Wenn Sie diese Kontowiederherstellung nicht angefordert haben, kontaktieren Sie bitte umgehend unser Support-Team.</p><p style=\"margin-top: 40px;\">Jingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058</p></td></tr></table></td></tr></table></body></html>",
|
||||
"bodyalt": "Sehr geehrte/r {user_name},\n\nWir haben eine Anfrage erhalten, um Ihr Konto wiederherzustellen.\n\nIhr neues Passwort lautet: {new_password}.\n\nWenn Sie diese Kontowiederherstellung nicht angefordert haben, wenden Sie sich bitte umgehend an unser Support-Team.\n\n\nJingga e.K. - www.jingga.app - CEO Dennis Eichhorn - Amtsgericht Friedberg HRA 5058"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -294,6 +294,10 @@ final class ApiController extends Controller
|
|||
module: 'Admin'
|
||||
);
|
||||
|
||||
if (empty($emailSettings[SettingsEnum::MAIL_SERVER_ADDR]->content)) {
|
||||
return;
|
||||
}
|
||||
|
||||
/** @var \Modules\Messages\Models\Email $mail */
|
||||
$mail = EmailMapper::get()
|
||||
->with('l11n')
|
||||
|
|
@ -304,36 +308,18 @@ final class ApiController extends Controller
|
|||
$mail->setFrom($emailSettings[SettingsEnum::MAIL_SERVER_ADDR]->content);
|
||||
$mail->addTo($account->email);
|
||||
|
||||
// @todo load default l11n if no translation is available
|
||||
// @todo Implement a model reading system which allows to define alternative conditions/wheres
|
||||
// https://github.com/Karaka-Management/phpOMS/issues/365
|
||||
$mailL11n = $mail->getL11nByLanguage($response->header->l11n->language);
|
||||
|
||||
$mail->subject = $mailL11n->subject;
|
||||
$mail->body = $mailL11n->body;
|
||||
$mail->bodyAlt = $mailL11n->bodyAlt;
|
||||
|
||||
// @todo improve, the /tld link could be api.myurl.com which of course is not the url of the respective app.
|
||||
// Maybe store the uri in the $app model? or store all urls in the config file
|
||||
$mail->body = \str_replace(
|
||||
[
|
||||
'{reset_link}',
|
||||
'{user_name}',
|
||||
],
|
||||
[
|
||||
$resetLink,
|
||||
$account->login,
|
||||
],
|
||||
$mailL11n->body
|
||||
);
|
||||
|
||||
$mail->bodyAlt = \str_replace(
|
||||
[
|
||||
'{reset_link}',
|
||||
'{user_name}',
|
||||
],
|
||||
[
|
||||
$resetLink,
|
||||
$account->login,
|
||||
],
|
||||
$mailL11n->bodyAlt
|
||||
);
|
||||
$mail->template = [
|
||||
'{reset_link}' => $resetLink,
|
||||
'{user_name}' => $account->login,
|
||||
];
|
||||
|
||||
$handler->send($mail);
|
||||
|
||||
|
|
@ -436,6 +422,10 @@ final class ApiController extends Controller
|
|||
module: 'Admin'
|
||||
);
|
||||
|
||||
if (empty($emailSettings[SettingsEnum::MAIL_SERVER_ADDR]->content)) {
|
||||
return;
|
||||
}
|
||||
|
||||
/** @var \Modules\Messages\Models\Email $mail */
|
||||
$mail = EmailMapper::get()
|
||||
->with('l11n')
|
||||
|
|
@ -446,36 +436,18 @@ final class ApiController extends Controller
|
|||
$mail->setFrom($emailSettings[SettingsEnum::MAIL_SERVER_ADDR]->content);
|
||||
$mail->addTo($account->email);
|
||||
|
||||
// @todo load default l11n if no translation is available
|
||||
// @todo Implement a model reading system which allows to define alternative conditions/wheres
|
||||
// https://github.com/Karaka-Management/phpOMS/issues/365
|
||||
$mailL11n = $mail->getL11nByLanguage($response->header->l11n->language);
|
||||
|
||||
$mail->subject = $mailL11n->subject;
|
||||
$mail->body = $mailL11n->body;
|
||||
$mail->bodyAlt = $mailL11n->bodyAlt;
|
||||
|
||||
// @todo improve, the /tld link could be api.myurl.com which of course is not the url of the respective app.
|
||||
// Maybe store the uri in the $app model? or store all urls in the config file
|
||||
$mail->body = \str_replace(
|
||||
[
|
||||
'{new_password}',
|
||||
'{user_name}',
|
||||
],
|
||||
[
|
||||
$pass,
|
||||
$account->login,
|
||||
],
|
||||
$mailL11n->body
|
||||
);
|
||||
|
||||
$mail->bodyAlt = \str_replace(
|
||||
[
|
||||
'{new_password}',
|
||||
'{user_name}',
|
||||
],
|
||||
[
|
||||
$pass,
|
||||
$account->login,
|
||||
],
|
||||
$mailL11n->bodyAlt
|
||||
);
|
||||
$mail->template = [
|
||||
'{new_password}' => $pass,
|
||||
'{user_name}' => $account->login,
|
||||
];
|
||||
|
||||
$handler->send($mail);
|
||||
|
||||
|
|
@ -1873,6 +1845,10 @@ final class ApiController extends Controller
|
|||
module: 'Admin'
|
||||
);
|
||||
|
||||
if (empty($emailSettings[SettingsEnum::MAIL_SERVER_ADDR]->content)) {
|
||||
return;
|
||||
}
|
||||
|
||||
/** @var \Modules\Messages\Models\Email $mail */
|
||||
$mail = EmailMapper::get()
|
||||
->with('l11n')
|
||||
|
|
@ -1883,40 +1859,20 @@ final class ApiController extends Controller
|
|||
$mail->setFrom($emailSettings[SettingsEnum::MAIL_SERVER_ADDR]->content);
|
||||
$mail->addTo((string) $request->getData('email'));
|
||||
|
||||
// @todo load default l11n if no translation is available
|
||||
// @todo Implement a model reading system which allows to define alternative conditions/wheres
|
||||
// https://github.com/Karaka-Management/phpOMS/issues/365
|
||||
$mailL11n = $mail->getL11nByLanguage($response->header->l11n->language);
|
||||
|
||||
$mail->subject = $mailL11n->subject;
|
||||
$mail->body = $mailL11n->body;
|
||||
$mail->bodyAlt = $mailL11n->bodyAlt;
|
||||
|
||||
// @todo improve, the /tld link could be api.myurl.com which of course is not the url of the respective app.
|
||||
// Maybe store the uri in the $app model? or store all urls in the config file
|
||||
$mail->body = \str_replace(
|
||||
[
|
||||
'{confirmation_link}',
|
||||
'{user_name}',
|
||||
],
|
||||
[
|
||||
UriFactory::hasQuery('/' . \strtolower($app->name))
|
||||
? UriFactory::build('{/' . \strtolower($app->name) . '}/' . \strtolower($app->name) . '/signup/confirmation?hash=' . $dataChange->getHash())
|
||||
: UriFactory::build('{/tld}/{/lang}/' . \strtolower($app->name) . '/signup/confirmation?hash=' . $dataChange->getHash()),
|
||||
$account->login,
|
||||
],
|
||||
$mailL11n->body
|
||||
);
|
||||
|
||||
$mail->bodyAlt = \str_replace(
|
||||
[
|
||||
'{confirmation_link}',
|
||||
'{user_name}',
|
||||
],
|
||||
[
|
||||
UriFactory::hasQuery('/' . \strtolower($app->name))
|
||||
? UriFactory::build('{/' . \strtolower($app->name) . '}/' . \strtolower($app->name) . '/signup/confirmation?hash=' . $dataChange->getHash())
|
||||
: UriFactory::build('{/tld}/{/lang}/' . \strtolower($app->name) . '/signup/confirmation?hash=' . $dataChange->getHash()),
|
||||
$account->login,
|
||||
],
|
||||
$mailL11n->bodyAlt
|
||||
);
|
||||
$mail->template = [
|
||||
'{confirmation_link}' => UriFactory::hasQuery('/' . \strtolower($app->name))
|
||||
? UriFactory::build('{/' . \strtolower($app->name) . '}/' . \strtolower($app->name) . '/signup/confirmation?hash=' . $dataChange->getHash())
|
||||
: UriFactory::build('{/tld}/{/lang}/' . \strtolower($app->name) . '/signup/confirmation?hash=' . $dataChange->getHash()),
|
||||
'{user_name}' => $account->login,
|
||||
];
|
||||
|
||||
$handler->send($mail);
|
||||
}
|
||||
|
|
@ -1990,7 +1946,9 @@ final class ApiController extends Controller
|
|||
* @return void
|
||||
*
|
||||
* @api
|
||||
* @todo maybe move to job/workflow??? This feels very much like a job/event especially if we make the 'type' an event-trigger
|
||||
*
|
||||
* @question Consider to re-implement the apiDataChange function as workflow
|
||||
* https://github.com/Karaka-Management/oms-Admin/issues/31
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
@ -3345,8 +3303,6 @@ final class ApiController extends Controller
|
|||
*
|
||||
* @return array<string, bool>
|
||||
*
|
||||
* @todo Implement API validation function
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function validateGroupPermissionDelete(RequestAbstract $request) : array
|
||||
|
|
@ -3404,8 +3360,6 @@ final class ApiController extends Controller
|
|||
*
|
||||
* @return array<string, bool>
|
||||
*
|
||||
* @todo Implement API validation function
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function validateAccountPermissionDelete(RequestAbstract $request) : array
|
||||
|
|
@ -3525,8 +3479,6 @@ final class ApiController extends Controller
|
|||
*
|
||||
* @return array<string, bool>
|
||||
*
|
||||
* @todo Implement API validation function
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function validateContactDelete(RequestAbstract $request) : array
|
||||
|
|
@ -3687,8 +3639,6 @@ final class ApiController extends Controller
|
|||
*
|
||||
* @return array<string, bool>
|
||||
*
|
||||
* @todo Implement API validation function
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function validateAddressDelete(RequestAbstract $request) : array
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user