Commit 7cf46d51 authored by Davide Aprea's avatar Davide Aprea

fixed domain black list and minor design changes

parent 10cf956a
......@@ -1396,7 +1396,7 @@ class MetaGer
}
foreach(Cookie::get() as $key => $value){
if(stripos($key, $this->fokus.'_blpage') === 0 && stripos($value, '*.') === 0){
$this->domainBlacklist[] = $value;
$this->domainBlacklist[] = str_replace("*.", "", $value);
}
}
......
......@@ -15,7 +15,7 @@ return [
"text.3" => "At this point you can set search filters permanently. With the selection of a search filter, only search engines are available that support this filter. Conversely, only search filters are displayed which are supported by the current search engine selection.",
'header.4' => 'Black list',
'text.4' => 'Here you can add pages to exclude when searching. If you want to exclude a whole domain start with "*.".',
'text.4' => 'Here you can add domains to exclude when searching. If you want to exclude all subdomains start with "*.".',
'address' => 'Address',
"save" => "Save",
......
......@@ -53,6 +53,7 @@
#create{
display:flex;
align-items:left;
margin-bottom:10px;
#blacklist{
flex-grow:1;
width:100%;
......@@ -74,6 +75,9 @@
tr:nth-child(even){
background-color:rgb(255, 215, 200);
}
td{
padding:10px 0px;
}
td:first-child{
padding-left:5px;
}
......
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