| @@ 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 |
|
| @@ 589-597 (lines=9) @@ | ||
| 586 | * |
|
| 587 | * @return IEMailTemplate |
|
| 588 | */ |
|
| 589 | private function generateMailExitingShares(string $author, string $circleName): IEMailTemplate { |
|
| 590 | $emailTemplate = $this->mailer->createEMailTemplate('circles.ExistingShareNotification', []); |
|
| 591 | $emailTemplate->addHeader(); |
|
| 592 | ||
| 593 | $text = $this->l10n->t('%s shared multiple files with \'%s\'.', [$author, $circleName]); |
|
| 594 | $emailTemplate->addBodyText(htmlspecialchars($text), $text); |
|
| 595 | ||
| 596 | return $emailTemplate; |
|
| 597 | } |
|
| 598 | ||
| 599 | /** |
|
| 600 | * @param IEMailTemplate $emailTemplate |
|