Commit eea6f6ac authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch 'development' of https://gitlab.metager3.de/open-source/MetaGer into development

parents 4b16a486 d5293e1a
......@@ -12,9 +12,9 @@ class Quicktips
{
use DispatchesJobs;
const QUICKTIP_URL = "https://quicktips.metager3.de/quicktips.xml";
//const QUICKTIP_URL = "http://localhost:63825/quicktips.xml";
const QUICKTIP_NAME = "quicktips";
//const QUICKTIP_URL = "https://quicktips.metager3.de/quicktips.xml";
const QUICKTIP_URL = "http://localhost:63825/quicktips.xml";
const QUICKTIP_NAME = "quicktips";
const CACHE_DURATION = 60;
private $hash;
......@@ -69,7 +69,7 @@ class Quicktips
public function loadResults()
{
$resultsRaw = $this->retrieveResults($this->hash);
$results = $this->parseResults($resultsRaw);
$results = $this->parseResults($resultsRaw);
return $results;
}
......@@ -140,14 +140,14 @@ class Quicktips
$descr = $quicktip_xml->content->__toString();
// Details
$details = [];
$details = [];
$details_xpath = $quicktip_xml->xpath('mg:details');
if (sizeof($details_xpath) > 0) {
foreach ($details_xpath[0] as $detail_xml) {
$details_title = $detail_xml->title->__toString();
$details_link = $detail_xml->url->__toString();
$details_link = $detail_xml->url->__toString();
$details_descr = $detail_xml->text->__toString();
$details[] = new \App\Models\Quicktips\Quicktip_detail(
$details[] = new \App\Models\Quicktips\Quicktip_detail(
$details_title,
$details_link,
$details_descr
......
This diff is collapsed.
......@@ -41,8 +41,8 @@ return [
'about.3.1' => '',
'lang.tooltip' => 'Ergebnissprache wählen',
'key.placeholder' => 'Mitglieder Key eingeben',
'key.tooltip' => 'Mitglieder Key eingeben',
'key.placeholder' => 'Mitglieder-Key eingeben',
'key.tooltip' => 'Mitglieder-Key eingeben',
'placeholder' => 'MetaGer: Sicher suchen & finden, Privatsphäre schützen',
'plugin.open-modal' => 'MetaGer-Plugin hinzufügen',
......
<?php
return [
'nav1' => 'Suche',
'nav2' => 'Spenden',
'nav3' => 'Datenschutz',
'nav4' => 'Forum',
'nav5' => 'Kontakt',
'nav6' => 'Team',
'nav7' => 'Über uns',
'nav8' => 'Impressum',
'nav9' => 'Hilfe',
'nav10' => 'Widget',
'nav11' => 'Assoziator',
'nav13' => 'URL-Verkürzer',
'nav14' => 'TOR-Hidden-Service',
'nav15' => 'Dienste',
'nav16' => 'Fördern',
'nav17' => 'Einkaufen bei MetaGer-Fördershops',
'nav18' => 'Kontakt',
'nav19' => 'Sprache',
'nav20' => 'Hilfe',
'nav21' => 'FAQ',
'nav22' => 'Zitatsuche',
'nav23' => 'Aufnahmeantrag SUMA-EV',
'nav24' => 'MetaGer Quellcode',
'nav25' => 'MetaGer App',
'nav26' => 'MetaGer-Fanshop',
'nav1' => 'Suche',
'nav2' => 'Spenden',
'nav3' => 'Datenschutz',
'nav4' => 'Forum',
'nav5' => 'Kontakt',
'nav6' => 'Team',
'nav7' => 'Über uns',
'nav8' => 'Impressum',
'nav9' => 'Hilfe',
'nav10' => 'Widget',
'nav11' => 'Assoziator',
'nav14' => 'TOR-Hidden-Service',
'nav15' => 'Dienste',
'nav16' => 'Fördern',
'nav17' => 'Einkaufen bei MetaGer-Fördershops',
'nav18' => 'Kontakt',
'nav19' => 'Sprache',
'nav20' => 'Hilfe',
'nav21' => 'FAQ',
'nav22' => 'Zitatsuche',
'nav23' => 'Aufnahmeantrag SUMA-EV',
'nav24' => 'MetaGer Quellcode',
'nav25' => 'MetaGer App',
'nav26' => 'MetaGer-Fanshop',
'navigationToggle' => 'Navigation anzeigen',
'titles.tips' => 'Tips',
'titles.tips' => 'Tips',
];
This diff is collapsed.
<?php
return [
"nav1" => "Search",
"nav2" => "Donate",
"nav3" => "Privacy",
"nav4" => "Board",
"nav5" => "Contact",
"nav6" => "Team",
"nav7" => "About us",
"nav8" => "Legal information",
"nav9" => "Help",
"nav10" => "Widget",
"nav11" => "Associator",
"nav13" => "URL-Shortener",
"nav14" => "TOR-Hidden-Service",
"nav15" => "Tools",
"nav16" => "Support Us",
"nav17" => "Purchase at affiliate shops",
"nav18" => "Contact",
"nav19" => "Language",
"nav20" => "Help",
"nav21" => "FAQ",
"nav22" => "Citation Search",
"nav23" => "Admitting formular SUMA-EV",
"nav24" => "MetaGer source code",
"nav25" => "MetaGer App",
'nav26' => 'MetaGer-Fanshop',
"nav1" => "Search",
"nav2" => "Donate",
"nav3" => "Privacy",
"nav4" => "Board",
"nav5" => "Contact",
"nav6" => "Team",
"nav7" => "About us",
"nav8" => "Legal information",
"nav9" => "Help",
"nav10" => "Widget",
"nav11" => "Associator",
"nav14" => "TOR-Hidden-Service",
"nav15" => "Tools",
"nav16" => "Support Us",
"nav17" => "Purchase at affiliate shops",
"nav18" => "Contact",
"nav19" => "Language",
"nav20" => "Help",
"nav21" => "FAQ",
"nav22" => "Citation Search",
"nav23" => "Admitting formular SUMA-EV",
"nav24" => "MetaGer source code",
"nav25" => "MetaGer App",
'nav26' => 'MetaGer-Fanshop',
"navigationToggle" => "show navigation",
];
<?php
return [
"nav1" => "Búsqueda",
"nav2" => "Donaciones",
"nav3" => "Protección de datos",
"nav4" => "Foro",
"nav5" => "Contacto",
"nav6" => "Equipo",
"nav7" => "Sobre nosotros",
"nav8" => "Aviso legal",
"nav9" => "Ayuda",
"nav10" => "Widget",
"nav11" => "Asociador",
"nav13" => "Cortador de URL",
"nav14" => "TOR-Hidden-Service",
"nav15" => "Servicios",
"nav16" => "Patrocinar",
"nav17" => "Comprar en tiendas que patrocinan a MetaGer",
"nav18" => "Contacto",
"nav19" => "Idioma",
"nav20" => "Ayuda",
"nav21" => "FAQ",
"nav22" => "Búsqueda de citas",
"nav23" => "Formulario de afiliación SUMA-EV",
"nav24" => "Codigo fuente MetaGer",
"nav25" => "MetaGer App",
"nav1" => "Búsqueda",
"nav2" => "Donaciones",
"nav3" => "Protección de datos",
"nav4" => "Foro",
"nav5" => "Contacto",
"nav6" => "Equipo",
"nav7" => "Sobre nosotros",
"nav8" => "Aviso legal",
"nav9" => "Ayuda",
"nav10" => "Widget",
"nav11" => "Asociador",
"nav14" => "TOR-Hidden-Service",
"nav15" => "Servicios",
"nav16" => "Patrocinar",
"nav17" => "Comprar en tiendas que patrocinan a MetaGer",
"nav18" => "Contacto",
"nav19" => "Idioma",
"nav20" => "Ayuda",
"nav21" => "FAQ",
"nav22" => "Búsqueda de citas",
"nav23" => "Formulario de afiliación SUMA-EV",
"nav24" => "Codigo fuente MetaGer",
"nav25" => "MetaGer App",
"navigationToggle" => "Mostrar navegación",
];
......@@ -5,24 +5,63 @@
@section('navbarFocus.datenschutz', 'class="active"')
@section('content')
<div class="card-heavy">
<h1>{!! trans('datenschutz.head') !!}</h1>
<p>{!! trans('datenschutz.general.1') !!}</p>
<p>{!! trans('datenschutz.general.3') !!}</p>
</div>
<div class="card-heavy">
<h1>{!! trans('datenschutz.policy.1') !!}</h1>
<ul class="dotlist">
<li>{!! trans('datenschutz.policy.2') !!}</li>
<li>{!! trans('datenschutz.policy.5') !!}</li>
<li>{!! trans('datenschutz.policy.6') !!}</li>
<li>{!! trans('datenschutz.policy.7') !!}</li>
<li>{!! trans('datenschutz.policy.9') !!}</li>
<li>{!! trans('datenschutz.policy.10') !!}</li>
<li>{!! trans('datenschutz.policy.13') !!}</li>
<li>{!! trans('datenschutz.policy.17') !!}</li>
<li>{!! trans('datenschutz.policy.18') !!}</li>
<li>{!! trans('datenschutz.policy.19') !!}</li>
</ul>
</div>
@endsection
\ No newline at end of file
<style>
main {
font-size: 10pt;
hyphens:auto;
counter-reset: kontext 0 datum 0;
text-align: justify;
}
h1 {
font-size: 18pt;
}
.kontext > h1::before {
counter-increment: kontext;
content: "K" counter(kontext) " ";
font-weight: normal;
}
.datum > h1::before {
counter-increment: datum;
content: "D" counter(datum) " ";
font-weight: normal;
}
.kontext h1 {
font-size: 16pt;
margin-bottom: inherit;
}
.kontext h2 {
font-size: 14pt;
margin-bottom: inherit;
}
.datum h1 {
font-size: 12pt;
margin-bottom: inherit;
}
.datum h2 {
font-size: 11pt;
margin-bottom: inherit;
margin-top: 5pt;
}
.kontext-list {
list-style: none;
}
.datum-list {
list-style: none;
}
samp {
hyphens:none;
font-size: 8pt;
}
</style>
@if (LaravelLocalization::getCurrentLocale() == "de")
@include('datenschutz.german')
@else
@include('datenschutz.english')
@endif
@endsection
This diff is collapsed.
......@@ -140,12 +140,6 @@
<p>{!! trans('hilfe.widget.1') !!}</p>
</div>
</section>
<section>
<h3>{!! trans('hilfe.urlshort.title') !!}</h3>
<div>
<p>{!! trans('hilfe.urlshort.1') !!}</p>
</div>
</section>
<h2>{!! trans('hilfe.datenschutz.title') !!}</h2>
<section>
<h3>{!! trans('hilfe.datenschutz.faktencheck.heading') !!}</h3>
......
<?xmlversion = "1.0"encoding = "UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
xmlns:mg="http://metager.de/opensearch/"
......
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