Browse Source

Update report template

Visman 3 years ago
parent
commit
7276fb8bc5
2 changed files with 1 additions and 2 deletions
  1. 0 1
      app/Models/Pages/Report.php
  2. 1 1
      app/templates/report.forkbb.php

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

@@ -110,7 +110,6 @@ class Report extends Page
 //        $this->canonical = $this->c->Router->link('NewTopic', ['id' => $forum->id]);
         $this->robots    = 'noindex';
         $this->crumbs    = $this->crumbs(__('Report post'), $topic);
-        $this->formTitle = 'Report post';
         $this->form      = $this->formReport($args, $data);
 
         return $this;

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

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