Commit d17fa88d authored by Phil Höfer's avatar Phil Höfer
Browse files

Fix: Werbefreie Suche

parent 52da2217
......@@ -108,6 +108,7 @@ class MetaGer
->with('mobile', $this->mobile)
->with('warnings', $this->warnings)
->with('errors', $this->errors)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this)
->with('browser', (new Agent())->browser());
default:
......@@ -117,6 +118,7 @@ class MetaGer
->with('mobile', $this->mobile)
->with('warnings', $this->warnings)
->with('errors', $this->errors)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this)
->with('browser', (new Agent())->browser());
}
......@@ -129,6 +131,7 @@ class MetaGer
->with('mobile', $this->mobile)
->with('warnings', $this->warnings)
->with('errors', $this->errors)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this)
->with('browser', (new Agent())->browser());
break;
......@@ -139,6 +142,7 @@ class MetaGer
->with('mobile', $this->mobile)
->with('warnings', $this->warnings)
->with('errors', $this->errors)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this)
->with('suspendheader', "yes")
->with('browser', (new Agent())->browser());
......@@ -172,6 +176,7 @@ class MetaGer
->with('mobile', $this->mobile)
->with('warnings', $this->warnings)
->with('errors', $this->errors)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this)
->with('browser', (new Agent())->browser());
break;
......
@if(isset($ad) && !$metager->apiAuthorized)
@if(isset($ad) && !apiAuthorized)
<div class="result ad row">
<div class="number col-sm-1"></div>
<div class="resultInformation col-sm-10">
......
@if(isset($result) && !$metager->apiAuthorized)
@if(isset($result) && !$apiAuthorized)
<article class="search-result ad card elevation-1">
<div class="result-content">
<h1 class="result-title">{{ $result->titel }}</h1>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment