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

neuer Spendenaufruf

parent 3e7264ae
...@@ -6,6 +6,7 @@ use App; ...@@ -6,6 +6,7 @@ use App;
use App\Http\Controllers\Controller; use App\Http\Controllers\Controller;
use App\MetaGer; use App\MetaGer;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use LaravelLocalization;
class MetaGerSearch extends Controller class MetaGerSearch extends Controller
{ {
...@@ -111,6 +112,10 @@ class MetaGerSearch extends Controller ...@@ -111,6 +112,10 @@ class MetaGerSearch extends Controller
$mquicktips[] = ['title' => $ad['title'], 'descr' => $ad['descr'], 'URL' => $ad['URL']]; $mquicktips[] = ['title' => $ad['title'], 'descr' => $ad['descr'], 'URL' => $ad['URL']];
} }
# Und en Spendenaufruf:
$mquicktips[] = ['title' => trans('quicktip.spende.title'), 'descr' => trans('quicktip.spende.descr'), 'URL' => LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "spendenaufruf")];
return view('quicktip') return view('quicktip')
->with('spruch', $spruch) ->with('spruch', $spruch)
->with('mqs', $mquicktips); ->with('mqs', $mquicktips);
......
<?php <?php
return [ return [
'title' => 'MetaGer Quicktips', 'title' => 'MetaGer Quicktips',
'spende' => [
'title' => 'MetaGer sagt Danke!',
'descr' => 'Ihre Unterstützung hilft uns, MetaGer zu betreiben.',
],
]; ];
Supports Markdown
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