Skip to content
Snippets Groups Projects
Commit e11e894d authored by Phil Höfer's avatar Phil Höfer
Browse files

Merge branch '746-jugendschutz' into 'development'

Resolve "Jugendschutz"

Closes #746

See merge request !1259
parents d3f7e5eb 084d48a3
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- age classification (age-label.com) -->
<!-- label generator: age-label.com -->
<age-declaration>
<ageblock-basic>
<age-issuer>metager.de</age-issuer>
<last-change>2018-07-06</last-change>
<country>de</country>
<label-version>1.0</label-version>
<revisit-after>1days</revisit-after>
</ageblock-basic>
<ageblock-labeltype>
<httpheader>false</httpheader>
<htmlmeta>true</htmlmeta>
<label-z>false</label-z>
<xmlfile>true</xmlfile>
<default-age>0</default-age>
<alternate>https://www.metager.de/jugendschutz</alternate>
</ageblock-labeltype>
<ageblock-labeltype-definition>
<labeltype-htmlmeta-definition>
<label class="name1">
<scope>*.metager.de</scope>
<scope>*.metager3.de</scope>
</label>
</labeltype-htmlmeta-definition>
<labeltype-xmlfile>
<label class="website">
<age>0</age>
<min-age>0</min-age>
<default-age>0</default-age>
<scope>*.metager.de</scope>
<scope>*.metager3.de</scope>
</label>
</labeltype-xmlfile>
</ageblock-labeltype-definition>
</age-declaration>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- age classification (age-label.com) -->
<!-- label generator: age-label.com -->
<!-- file type: age.xml -->
<age-declaration>
<ageblock-basic>
<age-issuer>metager.de</age-issuer>
<last-change>2018-07-06</last-change>
<country>de</country>
<label-version>2.0</label-version>
<revisit-after>1days</revisit-after>
</ageblock-basic>
<ageblock-country>
<country class="age.xml">
<country-code>all</country-code>
</country>
<country-default>age.xml</country-default>
</ageblock-country>
<ageblock-labeltype>
<httpheader>false</httpheader>
<htmlmeta>true</htmlmeta>
<phraselabel>false</phraselabel>
<agesubmit>false</agesubmit>
<label-z>false</label-z>
<xmlfile>true</xmlfile>
<default-age>0</default-age>
<alternate>https://www.metager.de/jugendschutz</alternate>
</ageblock-labeltype>
<ageblock-labeltype-definition>
<labeltype-htmlmeta-definition>
<label class="name1">
<scope>*.metager.de/*</scope>
<scope>*.metager3.de/*</scope>
</label>
</labeltype-htmlmeta-definition>
<labeltype-xmlfile>
<label class="website">
<age>0</age>
<scope>*.metager.de/*</scope>
<scope>*.metager3.de/*</scope>
</label>
</labeltype-xmlfile>
</ageblock-labeltype-definition>
</age-declaration>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<label xmlns="http://www.miracle-label.eu/ns/2.0/">
<age-declaration>
<issuer>
<age-issuer>metager.de</age-issuer>
<last-change>2018-07-06</last-change>
<country>
<country-code>all</country-code>
</country>
<custom></custom>
</issuer>
<scope>
<scope-urls>
<scope-url class="web-url">*.metager.de/*</scope-url>
<scope-url class="web-url">*.metager3.de/*</scope-url>
</scope-urls>
</scope>
<rating>
<age>0</age>
</rating>
</age-declaration>
</label>
\ No newline at end of file
<?php
return [
'title' => 'Jugendschutz',
'text' => 'Unsere Suche liefert Suchergebnisse zu verschiedensten Bereichen des Internets. Einige diese Bereiche sind für Menschen in deinem Alter nicht geeignet. Wenn du trotzdem etwas im Internet suchen willst, frage deine Eltern oder benutze eine andere Suchmaschine, zum Beispiel <a href="https://www.blinde-kuh.de/">Blinde Kuh</a>.'
];
......@@ -20,4 +20,5 @@ return [
'languages.edit' => 'Sprachdateien bearbeiten - MetaGer',
'app' => 'Apps - MetaGer',
'faktencheck' => 'Fakten-Prüfung contra Fake-News',
'jugendschutz' => 'Jugendschutz'
];
@extends('layouts.subPages')
@section('title', $title )
@section('content')
<h1 class="page-title">{!! trans('jugendschutz.title') !!}</h1>
<div class="card-heavy">
<p>{!! trans('jugendschutz.text') !!}</p>
</div>
@endsection
\ No newline at end of file
......@@ -17,6 +17,7 @@
<link type="text/css" rel="stylesheet" href="/fonts/liberation-fonts/liberation-fonts.css" />
<link id="theme" type="text/css" rel="stylesheet" href="/css/theme.css.php" />
<meta name="referrer" content="origin">
<meta name="age-meta-label" content="age=18"/>
@include('parts.utility')
</head>
<body id="resultpage-body">
......
......@@ -130,6 +130,23 @@ Route::group(
Route::get('zitat-suche', 'ZitatController@zitatSuche');
Route::get('jugendschutz', function () {
return view('jugendschutz')
->with('title', trans('titles.jugendschutz'));
});
Route::get('age.xml', function () {
$response = Response::make(file_get_contents(resource_path('age/age.xml')));
$response->header('Content-Type', "application/xml");
return $response;
});
Route::get('age-de.xml', function () {
$response = Response::make(file_get_contents(resource_path('age/age-de.xml')));
$response->header('Content-Type', "application/xml");
return $response;
});
Route::group([/*'middleware' => ['referer.check'],*/ 'prefix' => 'admin'], function () {
Route::get('/', 'AdminInterface@index');
Route::match(['get','post'], 'count', 'AdminInterface@count');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment