Update send email template

This commit is contained in:
Visman 2021-11-29 16:13:49 +07:00
parent 733a916fb7
commit 17adcc613d
4 changed files with 7 additions and 2 deletions

View file

@ -126,7 +126,6 @@ class Email extends Page
$this->nameTpl = 'email';
$this->robots = 'noindex';
$this->crumbs = $this->crumbs(__(['Send email to %s', $this->curUser->username]));
$this->formTitle = 'Send email';
$this->form = $this->formEmail($args, $data);
return $this;

View file

@ -33,6 +33,9 @@ msgstr "Email sent."
msgid "Send email to %s"
msgstr "Send email to %s"
msgid "Send email title"
msgstr "Send email"
msgid "Email subject"
msgstr "Subject"

View file

@ -33,6 +33,9 @@ msgstr "Письмо отправлено."
msgid "Send email to %s"
msgstr "Отправить сообщение для %s"
msgid "Send email title"
msgstr "Отправка письма"
msgid "Email subject"
msgstr "Заголовок"

View file

@ -5,7 +5,7 @@
</div>
@if ($form = $p->form)
<section id="fork-sendemail" class="f-post-form">
<h2>{!! __($p->formTitle) !!}</h2>
<h2>{!! __('Send email title') !!}</h2>
<div class="f-fdiv">
@include ('layouts/form')
</div>