Commit 06c60f77 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Alle Minisucher in einer Suchmaschine zusammen gefasst

parent ad099c87
......@@ -129,20 +129,18 @@ class StartpageController extends Controller
{
$displayName = $suma['displayName']->__toString();
$url = isset($suma['homepage']) ? $suma['homepage']->__toString() : "https://metager.de";
$service = $suma['service']->__toString();
$foki[$tmp][$suma['name']->__toString()] = [ 'displayName' => $displayName, 'url' => $url, 'service' => $service];
$foki[$tmp][$suma['name']->__toString()] = [ 'displayName' => $displayName, 'url' => $url];
}
}else
{
$displayName = $suma['displayName']->__toString();
$url = isset($suma['homepage']) ? $suma['homepage']->__toString() : "https://metager.de";
$service = $suma['service']->__toString();
$foki["andere"][$suma['name']->__toString()] = [ 'displayName' => $displayName, 'url' => $url, 'service' => $service];
$foki["andere"][$suma['name']->__toString()] = [ 'displayName' => $displayName, 'url' => $url];
}
}
}
return view('settings1')
return view('settings')
->with('foki', $foki)
->with('title', 'Einstellungen')
->with('css', 'settings.css')
......
......@@ -297,7 +297,7 @@ class MetaGer
foreach($sumas as $suma)
{
if($request->has($suma["service"])
if($request->has($suma["name"])
|| ( $this->fokus !== "bilder"
&& ($suma["name"]->__toString() === "qualigo"
|| $suma["name"]->__toString() === "similar_product_ads"
......@@ -343,7 +343,30 @@ class MetaGer
}
}
}
#die("test");
# Sonderregelung für alle Suchmaschinen, die zu den Minisuchern gehören. Diese können alle gemeinsam über einen Link abgefragt werden
$subcollections = [];
$tmp = [];
foreach($enabledSearchengines as $engine )
{
if( isset($engine['minismCollection']) )
$subcollections[] = $engine['minismCollection']->__toString();
else
$tmp[] = $engine;
}
$enabledSearchengines = $tmp;
if( sizeof($subcollections) > 0)
{
$count = sizeof($subcollections) * 10;
$minisucherEngine = $xml->xpath('suma[@name="minism"]')[0];
$subcollections = urlencode("(" . implode(" OR ", $subcollections) . ")");
$minisucherEngine["formData"] = str_replace("<<SUBCOLLECTIONS>>", $subcollections, $minisucherEngine["formData"]);
$minisucherEngine["formData"] = str_replace("<<COUNT>>", $count, $minisucherEngine["formData"]);
$enabledSearchengines[] = $minisucherEngine;
}
#die(var_dump($enabledSearchengines));
if( $countSumas <= 0 )
{
$this->errors[] = "Achtung: Sie haben in ihren Einstellungen keine Suchmaschine ausgewählt.";
......
......@@ -28,11 +28,13 @@ class Minisucher extends Searchengine
$string = "";
$counter = 0;
$providerCounter = [];
foreach($results as $result)
{
try{
$counter++;
$result = simplexml_load_string($result->saveXML());
$title = $result->xpath('//doc/arr[@name="title"]/str')[0]->__toString();
$link = $result->xpath('//doc/str[@name="url"]')[0]->__toString();
$anzeigeLink = $link;
......@@ -44,13 +46,31 @@ class Minisucher extends Searchengine
}
$descr = strip_tags($descr);
$provider = $result->xpath('//doc/str[@name="subcollection"]')[0]->__toString();
if( isset($providerCounter[$provider]) && $providerCounter[$provider] > 10 )
continue;
else
{
if( !isset($providerCounter[$provider]) )
$providerCounter[$provider] = 0;
$providerCounter[$provider] += 1;
}
if( isset($provider) )
{
$gefVon = "<a href=\"https://metager.de\" target=\"_blank\">Minisucher: $provider</a>";
}else
{
$gefVon = $this->gefVon;
}
$this->results[] = new \App\Models\Result(
$this->engine,
$title,
$link,
$link,
$descr,
$this->gefVon,
$gefVon,
$counter
);
}catch(\ErrorException $e)
......
......@@ -3,7 +3,7 @@
@section('title', $title )
@section('content')
<form action="/" method="get">
<form action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" method="get">
<h1>{{ trans('settings.head.1') }}</h1>
<p id="lead">{{ trans('settings.head.2') }} <a href="#unten">{{ trans('settings.head.3') }}</a> {{ trans('settings.head.4') }}</p>
<h2>{{ trans('settings.allgemein.1') }}</h2>
......@@ -17,298 +17,47 @@
<label class="select-label">{{ trans('settings.allgemein.4') }}:</label>
<select class="form-control" name="param_lang">
<option value="all">{{ trans('settings.allgemein.5') }}</option>
<option value="de">{{ trans('settings.allgemein.6') }}</option>
</select>
<option value="de">{{ trans('settings.allgemein.6') }}</option></select>
<label class="select-label">{{ trans('settings.allgemein.7') }}:</label>
<select class="form-control" name="param_resultCount">
<option value="10">10</option>
<option value="20" selected>20</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="0">{{ trans('settings.allgemein.8') }}</option>
</select>
<option value="0">{{ trans('settings.allgemein.8') }}</option></select>
<label class="select-label">{{ trans('settings.allgemein.9') }}:</label>
<select class="form-control" name="param_time">
<option value="1000" selected>1 {{ trans('settings.allgemein.10') }}</option>
<option value="2000">2 {{ trans('settings.allgemein.11') }}</option>
<option value="5000">5 {{ trans('settings.allgemein.11') }}</option>
<option value="10000">10 {{ trans('settings.allgemein.11') }}</option>
<option value="20000">20 {{ trans('settings.allgemein.11') }}</option>
</select>
<option value="20000">20 {{ trans('settings.allgemein.11') }}</option></select>
<h2>{{ trans('settings.suchmaschinen.1') }}</h2>
<div class="headingGroup web">
<h3>{{ trans('settings.suchmaschinen.2') }}:
<small><a data-type="web" class="checker"> ({{ trans('settings.suchmaschinen.3') }})</a></small></h3>
<div class="row">
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_fastbot">Fastbot</label><a class="glyphicon glyphicon-link" target="_blank" href="https://www.fastbot.de/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_wikipedia">Wikipedia</label><a class="glyphicon glyphicon-link" target="_blank" href="https://de.wikipedia.org/wiki/Wikipedia:Hauptseite"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_witch">Witch</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.witch.de/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_dmoz">Dmoz</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.dmoz.de/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_overture">Yahoo</label><a class="glyphicon glyphicon-link" target="_blank" href="https://de.yahoo.com/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_yacy">YaCy</label><a class="glyphicon glyphicon-link" target="_blank" href="http://yacy.de/de/index.html"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_nebel">Netluchs</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.netluchs.de/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_exalead">Exalead</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.exalead.com/search/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_BASE">BASE</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.base-search.net/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_yandex">Yandex</label><a class="glyphicon glyphicon-link" target="_blank" href="https://www.yandex.com/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_zeitde">Die ZEIT</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.zeit.de/index"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_onenewspage">OneNewspage</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.onenewspage.com/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_onenewspagevideo">OneNewspage ({{ trans('settings.suchmaschinen.4') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.onenewspage.com/videos.htm"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_onenewspagegermany">OneNewspage ({{ trans('settings.suchmaschinen.5') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.newsdeutschland.com/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_onenewspagegermanyvideo">OneNewspage Video ({{ trans('settings.suchmaschinen.5') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.newsdeutschland.com/videos.htm"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_minism">Minisucher SUMA-Lab</label>
</div>
</div>
</div>
</div>
<div class="headingGroup nachrichten">
<h3>{{ trans('settings.suchmaschinen.6') }}:
<small><a data-type="nachrichten" class="checker"> ({{ trans('settings.suchmaschinen.3') }})</a></small></h3>
<div class="row">
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_nebelfeed">Netluchs Twitter</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.netluchs.de/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_onenewspage">OneNewspage</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.onenewspage.com/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_onenewspagevideo">OneNewspage ({{ trans('settings.suchmaschinen.4') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.onenewspage.com/videos.htm"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_onenewspagegermany">OneNewspage ({{ trans('settings.suchmaschinen.5') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.newsdeutschland.com/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_onenewspagegermanyvideo">OneNewspage Video ({{ trans('settings.suchmaschinen.5') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.newsdeutschland.com/videos.htm"></a>
</div>
@foreach( $foki as $fokus => $sumas )
<div class="headingGroup {{ $fokus }}">
<h3>
{{ ucfirst($fokus) }}
<small>
<a class="checker" data-type="{{ $fokus }}">{{ trans('settings.suchmaschinen.3') }}</a>
</small>
</h3>
<div class="row">
@foreach( $sumas as $name => $data )
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label>
<input name="param_{{ $name }}" type="checkbox" />{{ $data['displayName'] }}
</label>
<a class="glyphicon glyphicon-link" target="_blank" href="{{ $data['url'] }}"></a>
</div>
</div>
@endforeach
</div>
</div>
</div>
<div class="headingGroup wissenschaft">
<h3>{{ trans('settings.suchmaschinen.7') }}:
<small><a data-type="wissenschaft" class="checker"> ({{ trans('settings.suchmaschinen.3') }})</a></small></h3>
<div class="row">
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_tuhh">TUBdok</label><a class="glyphicon glyphicon-link" target="_blank" href="https://tubdok.tub.tuhh.de/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_BASE">BASE</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.base-search.net/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_MetaGer-QIP">MetaGer-QIP</label>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_minism">Minisucher SUMA-Lab</label>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_pubmed">PubMed</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.ncbi.nlm.nih.gov/pubmed/"></a>
</div>
</div>
</div>
</div>
<div class="headingGroup produktsuche">
<h3>{{ trans('settings.suchmaschinen.8') }}:
<small><a data-type="produktsuche" class="checker"> ({{ trans('settings.suchmaschinen.3') }})</a></small></h3>
<div class="row">
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_ebay">Ebay</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.ebay.de/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_mg_produkt">MetaGer {{ trans('settings.suchmaschinen.9') }}</label>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_mg_produkt2">MetaGer {{ trans('settings.suchmaschinen.9') }}</label>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_ecoshopper">Ecoshopper</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.ecoshopper.de/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_similar_product">Ladenpreis</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.ladenpreis.net/"></a>
</div>
</div>
</div>
</div>
<div class="headingGroup others">
<h3>{{ trans('settings.suchmaschinen.10') }}:
<small><a data-type="others" class="checker"> ({{ trans('settings.suchmaschinen.3') }})</a></small></h3>
<div class="row">
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_allesklar">AllesKlar</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.allesklar.de/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_dmozint">dmoz international</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.dmoz.org/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_harvest">CampusSearch</label>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_wikis">Wikis</label>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_bing">Bing</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.bing.com/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_fportal">Forschung</label>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_suchticker">Suchticker</label>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_tauchen">OpenCrawl ({{ trans('settings.suchmaschinen.11') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.opencrawl.de/opencrawl/search.jsp?subcollection=tauchen&amp;query=&amp;hitsPerPage=10&amp;hitsPerSite=1"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_regengergie">OpenCrawl ({{ trans('settings.suchmaschinen.12') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.opencrawl.de/opencrawl/search.jsp?subcollection=ernenerg"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_astronomie">OpenCrawl ({{ trans('settings.suchmaschinen.13') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.opencrawl.de/opencrawl/search.jsp?subcollection=astronom"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_goyax">{{ trans('settings.suchmaschinen.14') }} (goyax)</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.goyax.de/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_stackexchange">Stackoverflow (Q&amp;A)</label><a class="glyphicon glyphicon-link" target="_blank" href="https://stackoverflow.com/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_dart">DartEurope</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.dart-europe.eu/basic-search.php"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_beammachine">Beam Machine</label>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_onenewspageAll">OneNewspage ({{ trans('settings.suchmaschinen.15') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.onenewspage.com/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_onenewspagegermanyAll">OneNewspage ({{ trans('settings.suchmaschinen.16') }})</label><a class="glyphicon glyphicon-link" target="_blank" href="http://www.newsdeutschland.com/"></a>
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label><input type="checkbox" name="param_loklak">loklak</label><a class="glyphicon glyphicon-link" target="_blank" href="http://loklak.org/"></a>
</div>
</div>
</div>
</div>
<input id="unten" type="submit" class="btn btn-primary" value="Startseite f&uuml;r einmalige Nutzung generieren">
<input type="button" class="btn btn-primary hidden" id="save" value="Einstellungen dauerhaft speichern">
<input id="plugin" type="submit" class="btn btn-primary" value="Plugin mit diesen Einstellungen generieren.">
@endforeach
<input id="unten" type="submit" class="btn btn-primary" value="{{ trans('settings.speichern.1') }}">
<input type="button" class="btn btn-primary hidden" id="save" value="{{ trans('settings.speichern.2') }}">
<input id="plugin" type="submit" class="btn btn-primary" value="{{ trans('settings.speichern.3') }}">
<input type="button" class="btn btn-danger hidden" id="reset" value="Einstellungen Zur&uuml;cksetzen">
</form>
@endsection
\ No newline at end of file
@extends('layouts.subPages')
@section('title', $title )
@section('content')
<form action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" method="get">
<h1>{{ trans('settings.head.1') }}</h1>
<p id="lead">{{ trans('settings.head.2') }} <a href="#unten">{{ trans('settings.head.3') }}</a> {{ trans('settings.head.4') }}</p>
<h2>{{ trans('settings.allgemein.1') }}</h2>
<input type="hidden" name="focus" value="angepasst">
<div class="checkbox">
<label><input type="checkbox" name="param_sprueche">{{ trans('settings.allgemein.2') }}</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name="param_tab">{{ trans('settings.allgemein.3') }}</label>
</div>
<label class="select-label">{{ trans('settings.allgemein.4') }}:</label>
<select class="form-control" name="param_lang">
<option value="all">{{ trans('settings.allgemein.5') }}</option>
<option value="de">{{ trans('settings.allgemein.6') }}</option></select>
<label class="select-label">{{ trans('settings.allgemein.7') }}:</label>
<select class="form-control" name="param_resultCount">
<option value="10">10</option>
<option value="20" selected>20</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="0">{{ trans('settings.allgemein.8') }}</option></select>
<label class="select-label">{{ trans('settings.allgemein.9') }}:</label>
<select class="form-control" name="param_time">
<option value="1000" selected>1 {{ trans('settings.allgemein.10') }}</option>
<option value="2000">2 {{ trans('settings.allgemein.11') }}</option>
<option value="5000">5 {{ trans('settings.allgemein.11') }}</option>
<option value="10000">10 {{ trans('settings.allgemein.11') }}</option>
<option value="20000">20 {{ trans('settings.allgemein.11') }}</option></select>
<h2>{{ trans('settings.suchmaschinen.1') }}</h2>
@foreach( $foki as $fokus => $sumas )
<div class="headingGroup {{ $fokus }}">
<h3>
{{ ucfirst($fokus) }}
<small>
<a class="checker" data-type="{{ $fokus }}">{{ trans('settings.suchmaschinen.3') }}</a>
</small>
</h3>
<div class="row">
@foreach( $sumas as $name => $data )
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox">
<label>
<input name="param_{{ $data['service'] }}" type="checkbox" />{{ $data['displayName'] }}
</label>
<a class="glyphicon glyphicon-link" target="_blank" href="{{ $data['url'] }}"></a>
</div>
</div>
@endforeach
</div>
</div>
@endforeach
<input id="unten" type="submit" class="btn btn-primary" value="{{ trans('settings.speichern.1') }}">
<input type="button" class="btn btn-primary hidden" id="save" value="{{ trans('settings.speichern.2') }}">
<input id="plugin" type="submit" class="btn btn-primary" value="{{ trans('settings.speichern.3') }}">
<input type="button" class="btn btn-danger hidden" id="reset" value="Einstellungen Zur&uuml;cksetzen">
</form>
@endsection
\ No newline at end of file
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