| @@ 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 |
|
| @@ 508-516 (lines=9) @@ | ||
| 505 | * |
|
| 506 | * @return IEMailTemplate |
|
| 507 | */ |
|
| 508 | private function generateMailExitingShares(string $author, string $circleName): IEMailTemplate { |
|
| 509 | $emailTemplate = $this->mailer->createEMailTemplate('circles.ExistingShareNotification', []); |
|
| 510 | $emailTemplate->addHeader(); |
|
| 511 | ||
| 512 | $text = $this->l10n->t('%s shared multiple files with \'%s\'.', [$author, $circleName]); |
|
| 513 | $emailTemplate->addBodyText(htmlspecialchars($text), $text); |
|
| 514 | ||
| 515 | return $emailTemplate; |
|
| 516 | } |
|
| 517 | ||
| 518 | /** |
|
| 519 | * @param IEMailTemplate $emailTemplate |
|