| @@ 328-336 (lines=9) @@ | ||
| 325 | * |
|
| 326 | * @return IEMailTemplate |
|
| 327 | */ |
|
| 328 | private function generateMailExitingShares(string $author, string $circleName): IEMailTemplate { |
|
| 329 | $emailTemplate = $this->mailer->createEMailTemplate('circles.ExistingShareNotification', []); |
|
| 330 | $emailTemplate->addHeader(); |
|
| 331 | ||
| 332 | $text = $this->l10n->t('%s shared multiple files with \'%s\'.', [$author, $circleName]); |
|
| 333 | $emailTemplate->addBodyText(htmlspecialchars($text), $text); |
|
| 334 | ||
| 335 | return $emailTemplate; |
|
| 336 | } |
|
| 337 | ||
| 338 | /** |
|
| 339 | * @param IEMailTemplate $emailTemplate |
|
| @@ 495-503 (lines=9) @@ | ||
| 492 | * |
|
| 493 | * @return IEMailTemplate |
|
| 494 | */ |
|
| 495 | private function generateMailExitingShares(string $author, string $circleName): IEMailTemplate { |
|
| 496 | $emailTemplate = $this->mailer->createEMailTemplate('circles.ExistingShareNotification', []); |
|
| 497 | $emailTemplate->addHeader(); |
|
| 498 | ||
| 499 | $text = $this->l10n->t('%s shared multiple files with \'%s\'.', [$author, $circleName]); |
|
| 500 | $emailTemplate->addBodyText(htmlspecialchars($text), $text); |
|
| 501 | ||
| 502 | return $emailTemplate; |
|
| 503 | } |
|
| 504 | ||
| 505 | /** |
|
| 506 | * @param IEMailTemplate $emailTemplate |
|