|
93 | 93 |
|
94 | 94 | $language = $disabledUser['locale']; |
95 | 95 | $subject = get_lang('Account disabled', $language).': '.$disabledUser['complete_name']; |
96 | | - $content = get_lang('DisableUserCase1', $language); |
| 96 | + $content = get_lang("Hello,<br>You haven't logged into to your account for three months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards.", $language); |
97 | 97 |
|
98 | 98 | $userReportList[$studentId]['message'] .= $newLine. |
99 | 99 | 'Mail will be send to: '.$disabledUser['username'].' ('.$disabledUser['email'].')'.$newLine. |
|
153 | 153 |
|
154 | 154 | $language = $disabledUser['locale']; |
155 | 155 | $subject = get_lang('Account disabled', $language).': '.$disabledUser['complete_name']; |
156 | | - $content = get_lang('DisableUserCase3Student', $language); |
| 156 | + $content = get_lang("Hello,<br>You haven't logged into your account for six months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards.", $language); |
157 | 157 |
|
158 | 158 | if (!isset($userReportList[$studentId]['message'])) { |
159 | 159 | $userReportList[$studentId]['message'] = ''; |
|
220 | 220 | $userReportList[$studentId]['message'] .= $newLine."User# $studentId (".$disabledUser['username'].") to be disabled. Case 2 . Last connection: $lastDate - 6 months: $date6Months "; |
221 | 221 |
|
222 | 222 | $subject = get_lang('Account disabled', $disabledUser['locale']).': '.$disabledUser['complete_name']; |
223 | | - $content = get_lang('DisableUserCase2', $disabledUser['locale']); |
| 223 | + $content = get_lang("Hello,<br>You haven't logged into your account for six months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards.", $disabledUser['locale']); |
224 | 224 |
|
225 | 225 | $userReportList[$studentId]['message'] .= $newLine.'Mail will be send to: '.$disabledUser['username'].$newLine.'Subject: '.$subject.$newLine.'Content: '.$content.$newLine; |
226 | 226 |
|
|
232 | 232 | $bossInfo = api_get_user_info($studentBoss); |
233 | 233 | if ($bossInfo) { |
234 | 234 | $subjectBoss = get_lang('Account disabled', $bossInfo['locale']).': '.$disabledUser['complete_name']; |
235 | | - $contentBoss = sprintf(get_lang('DisableUserCase2StudentX', $bossInfo['locale']), $disabledUser['complete_name']); |
| 235 | + $contentBoss = sprintf(get_lang("Hello,<br>%s hasn't logged into PARKUR in the last six months. His account has just been deactivated.<br><br>Sincerely.", $bossInfo['locale']), $disabledUser['complete_name']); |
236 | 236 | $userReportList[$studentId]['message'] .= $newLine.'Mail will be send to: '.$bossInfo['username'].$newLine.'Subject: '.$subjectBoss.$newLine.'Content: '.$contentBoss.$newLine; |
237 | 237 | } |
238 | 238 | } |
|
0 commit comments