| @@ 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 |
|
| @@ 568-576 (lines=9) @@ | ||
| 565 | * |
|
| 566 | * @return IEMailTemplate |
|
| 567 | */ |
|
| 568 | private function generateMailExitingShares(string $author, string $circleName): IEMailTemplate { |
|
| 569 | $emailTemplate = $this->mailer->createEMailTemplate('circles.ExistingShareNotification', []); |
|
| 570 | $emailTemplate->addHeader(); |
|
| 571 | ||
| 572 | $text = $this->l10n->t('%s shared multiple files with \'%s\'.', [$author, $circleName]); |
|
| 573 | $emailTemplate->addBodyText(htmlspecialchars($text), $text); |
|
| 574 | ||
| 575 | return $emailTemplate; |
|
| 576 | } |
|
| 577 | ||
| 578 | /** |
|
| 579 | * @param IEMailTemplate $emailTemplate |
|