Browse Source

Add rel="nofollow" to topic and forum templates

Visman 1 year ago
parent
commit
fabc46f8ee

+ 2 - 2
app/templates/_default/forum.forkbb.php

@@ -68,7 +68,7 @@
         <div class="f-actions-links">
           <small>{!! __('ACTIONS') !!}</small>
           <small>|</small>
-          <span class="f-act-span"><a class="f-btn f-btn-create-topic" title="{{ __('Post topic') }}" href="{{ $p->model->linkCreateTopic }}"><span>{!! __('Post topic') !!}</span></a></span>
+          <span class="f-act-span"><a class="f-btn f-btn-create-topic" title="{{ __('Post topic') }}" href="{{ $p->model->linkCreateTopic }}" rel="nofollow"><span>{!! __('Post topic') !!}</span></a></span>
         </div>
     @endif
       </div>
@@ -205,7 +205,7 @@
             @endif
             @if ($p->model->canCreateTopic)
           <small>|</small>
-          <span class="f-act-span"><a class="f-btn f-btn-create-topic" title="{{ __('Post topic') }}" href="{{ $p->model->linkCreateTopic }}"><span>{!! __('Post topic') !!}</span></a></span>
+          <span class="f-act-span"><a class="f-btn f-btn-create-topic" title="{{ __('Post topic') }}" href="{{ $p->model->linkCreateTopic }}" rel="nofollow"><span>{!! __('Post topic') !!}</span></a></span>
             @endif
         </div>
         @endif

+ 3 - 3
app/templates/_default/topic.forkbb.php

@@ -42,7 +42,7 @@
         @endif
         @if ($p->model->canReply)
           <small>|</small>
-          <span class="f-act-span"><a class="f-btn f-btn-post-reply" title="{{ __('Post reply') }}" href="{{ $p->model->linkReply }}"><span>{!! __('Post reply') !!}</span></a></span>
+          <span class="f-act-span"><a class="f-btn f-btn-post-reply" title="{{ __('Post reply') }}" href="{{ $p->model->linkReply }}" rel="nofollow"><span>{!! __('Post reply') !!}</span></a></span>
         @endif
         </div>
     @endif
@@ -164,7 +164,7 @@
             @endif
             @if ($post->canQuote)
             <small>-</small>
-            <a class="f-btn f-postquote" title="{{ __('Quote') }}" href="{{ $post->linkQuote }}"><span>{!! __('Quote') !!}</span></a>
+            <a class="f-btn f-postquote" title="{{ __('Quote') }}" href="{{ $post->linkQuote }}" rel="nofollow"><span>{!! __('Quote') !!}</span></a>
             @endif
           </aside>
         @endif
@@ -191,7 +191,7 @@
         @endif
         @if ($p->model->canReply)
           <small>|</small>
-          <span class="f-act-span"><a class="f-btn f-btn-post-reply" title="{{ __('Post reply') }}" href="{{ $p->model->linkReply }}"><span>{!! __('Post reply') !!}</span></a></span>
+          <span class="f-act-span"><a class="f-btn f-btn-post-reply" title="{{ __('Post reply') }}" href="{{ $p->model->linkReply }}" rel="nofollow"><span>{!! __('Post reply') !!}</span></a></span>
         @endif
         </div>
     @endif