From 0c54098fbe9d49954bba797ba74f77c2cba5a051 Mon Sep 17 00:00:00 2001 From: Kevin Date: Mon, 5 May 2008 20:15:22 +0000 Subject: [PATCH] Wikipedia in the search box is a must! --- .../prosilver/template/portal/block/search.html | 16 ++++++++++------ .../subsilver2/template/portal/block/search.html | 16 ++++++++++------ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/root/styles/prosilver/template/portal/block/search.html b/root/styles/prosilver/template/portal/block/search.html index f9b34ab1..e9d30a9d 100644 --- a/root/styles/prosilver/template/portal/block/search.html +++ b/root/styles/prosilver/template/portal/block/search.html @@ -13,6 +13,9 @@ function qsearch_onSubmit() case 'author': window.open('search.php?author=' + qs_keywords, '_self', ''); return false; + case 'wikipedia': + window.open('http://en.wikipedia.org/wiki/Spezial:Search?search=' + qs_keywords, '_wikipedia', ''); + return false; case 'google': window.open('http://www.google.com/search?q=' + qs_keywords, '_google', ''); return false; @@ -59,12 +62,13 @@ function qsearch_onSubmit() - - - - - - + + + + + + + diff --git a/templates/subsilver2/template/portal/block/search.html b/templates/subsilver2/template/portal/block/search.html index e8ffcea6..9468cbcd 100644 --- a/templates/subsilver2/template/portal/block/search.html +++ b/templates/subsilver2/template/portal/block/search.html @@ -12,6 +12,9 @@ function qsearch_onSubmit() case 'author': window.open('search.php?author=' + qs_keywords, '_self', ''); return false; + case 'wikipedia': + window.open('http://en.wikipedia.org/wiki/Spezial:Search?search=' + qs_keywords, '_wikipedia', ''); + return false; case 'google': window.open('http://www.google.com/search?q=' + qs_keywords, '_google', ''); return false; @@ -60,12 +63,13 @@ function qsearch_onSubmit() - - - - - - + + + + + + +