summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/backend.php1
-rw-r--r--lib/frontend.php18
2 files changed, 13 insertions, 6 deletions
diff --git a/lib/backend.php b/lib/backend.php
index 7c450da..00161a6 100644
--- a/lib/backend.php
+++ b/lib/backend.php
@@ -50,7 +50,6 @@ class backend{
switch($type){
case "raw_ip":
- return;
break;
case "http":
diff --git a/lib/frontend.php b/lib/frontend.php
index 220d4e9..d40ea43 100644
--- a/lib/frontend.php
+++ b/lib/frontend.php
@@ -242,6 +242,7 @@ class frontend{
$payload .=
$this->highlighttext($keywords, $site["title"]) .
'</div>';
+ $payload .= '</a>';
if($greentext !== null){
@@ -261,7 +262,6 @@ class frontend{
$payload .= $customhtml;
- $payload .= '</a>';
/*
Sublinks
@@ -919,11 +919,16 @@ class frontend{
$filters["scraper"] = [
"display" => "Scraper",
"option" => [
+ "googlealt" => "GoogleV6",
+ "google" => "Google",
"ddg" => "DuckDuckGo",
"brave" => "Brave",
"yandex" => "Yandex",
+<<<<<<< HEAD
+=======
"google" => "Google",
"startpage" => "Startpage",
+>>>>>>> 029af216d48c56ad310f4ba82ac0ed2fb57d5e32
"qwant" => "Qwant",
"yep" => "Yep",
"greppr" => "Greppr",
@@ -941,10 +946,11 @@ class frontend{
$filters["scraper"] = [
"display" => "Scraper",
"option" => [
+ "googlealt" => "GoogleV6",
+ "google" => "Google",
+ "brave" => "Brave",
"ddg" => "DuckDuckGo",
"yandex" => "Yandex",
- "brave" => "Brave",
- "google" => "Google",
"qwant" => "Qwant",
"yep" => "Yep",
//"pinterest" => "Pinterest",
@@ -960,6 +966,7 @@ class frontend{
"option" => [
"yt" => "YouTube",
//"fb" => "Facebook videos",
+ "googlealt" => "GoogleV6",
"ddg" => "DuckDuckGo",
"brave" => "Brave",
"yandex" => "Yandex",
@@ -973,10 +980,11 @@ class frontend{
$filters["scraper"] = [
"display" => "Scraper",
"option" => [
- "ddg" => "DuckDuckGo",
- "brave" => "Brave",
+ "googlealt" => "GoogleV6",
"google" => "Google",
+ "brave" => "Brave",
"qwant" => "Qwant",
+ "ddg" => "DuckDuckGo",
"yep" => "Yep",
"mojeek" => "Mojeek"
]