Pārlūkot izejas kodu

Update send email template

Visman 3 gadi atpakaļ
vecāks
revīzija
17adcc613d

+ 0 - 1
app/Models/Pages/Email.php

@@ -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;

+ 3 - 0
app/lang/en/misc.po

@@ -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"
 

+ 3 - 0
app/lang/ru/misc.po

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

+ 1 - 1
app/templates/email.forkbb.php

@@ -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>