浏览代码

Update Redirect page

Visman 3 年之前
父节点
当前提交
f3972a6188
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/Models/Pages/Redirect.php
  2. 1 1
      app/templates/layouts/redirect.forkbb.php

+ 1 - 1
app/Models/Pages/Redirect.php

@@ -56,7 +56,7 @@ class Redirect extends Page
         $this->nameTpl = 'layouts/redirect';
         $this->titles  = __('Redirecting');
         $this->robots  = 'noindex';
-        $this->message = __($message) . ' ' . __('Redirecting...');
+        $this->message = $message;
         $this->timeout = (int) $this->c->config->o_redirect_delay;  //???? перенести в заголовки?
 
         return $this;

+ 1 - 1
app/templates/layouts/redirect.forkbb.php

@@ -18,7 +18,7 @@
     <main>
       <section id="fork-rdrct" class="f-main">
         <h2>{!! __('Redirecting') !!}</h2>
-        <p>{!! $p->message !!}</p>
+        <p>{!! __($p->message) !!} {!! __('Redirecting...') !!}</p>
         <p><a href="{{ $p->link }}">{!! __('Click redirect') !!}</a></p>
       </section>
     </main>