diff options
Diffstat (limited to 'extensions/GoogleSiteSearch/GoogleSiteSearch.content.default.html')
-rw-r--r-- | extensions/GoogleSiteSearch/GoogleSiteSearch.content.default.html | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/extensions/GoogleSiteSearch/GoogleSiteSearch.content.default.html b/extensions/GoogleSiteSearch/GoogleSiteSearch.content.default.html deleted file mode 100644 index 4724818..0000000 --- a/extensions/GoogleSiteSearch/GoogleSiteSearch.content.default.html +++ /dev/null @@ -1,24 +0,0 @@ -<div id="cse" style="width: 100%;">_GSS_LOADING_</div> -<script src="//www.google.com/jsapi" type="text/javascript"></script> -<script type="text/javascript"> - google.load('search', '1', {language : _GSS_LANG_}); - google.setOnLoadCallback(function() { - var customSearchOptions = {}; - var orderByOptions = {}; - orderByOptions['keys'] = [{label: 'Relevance', key: ''} , {label: 'Date', key: 'date'}]; - customSearchOptions['enableOrderBy'] = true; - customSearchOptions['orderByOptions'] = orderByOptions; - var googleAnalyticsOptions = {}; - googleAnalyticsOptions['queryParameter'] = 'search'; - googleAnalyticsOptions['categoryParameter'] = ''; - customSearchOptions['googleAnalyticsOptions'] = googleAnalyticsOptions; - customSearchOptions[google.search.Search.RESTRICT_EXTENDED_ARGS] = {"filter" : "1"}; - var customSearchControl = new google.search.CustomSearchControl(_GSS_CSE_ID_, customSearchOptions); - customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET); - var options = new google.search.DrawOptions(); - options.setAutoComplete(true); - customSearchControl.draw('cse', options); - customSearchControl.execute(_GSS_TERM_ESCAPE_); - }, true); -</script> -<link rel="stylesheet" href="//www.google.com/cse/style/look/default.css" type="text/css" /> |