]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add DuckDuckGo as a fallback search link
authorJoshua Judson Rosen <rozzin@geekspace.com>
Thu, 4 Dec 2014 03:48:28 +0000 (22:48 -0500)
committerJoshua Judson Rosen <rozzin@geekspace.com>
Thu, 4 Dec 2014 03:48:28 +0000 (22:48 -0500)
People like it.

lib/searchaction.php

index 5e9c418459f41c1a0c8fe2886bb9f6a0551b11c5..cc75c4c2446a89fe0fd248f5a69d7ee8075512fd 100644 (file)
@@ -135,9 +135,10 @@ class SearchAction extends Action
             // TRANS: Standard search suggestions shown when a search does not give any results.
             $message .= sprintf(_("You can also try your search on other engines:
 
+* [DuckDuckGo](https://duckduckgo.com/?q=site%%3A%%%%site.server%%%%+%s)
 * [Google](http://www.google.com/search?q=site%%3A%%%%site.server%%%%+%s)
 * [Yahoo!](http://search.yahoo.com/search?p=site%%3A%%%%site.server%%%%+%s)
-"), $qe, $qe);
+"), $qe, $qe, $qe);
             $message .= "\n";
         }
         $this->elementStart('div', 'help instructions');