Skip to content

Commit

Permalink
Remove defunct site search
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkcuys committed Sep 26, 2024
1 parent 7a18cf0 commit a7bb4c3
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions lernanta/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<link href='https://fonts.googleapis.com/css?family=Arvo:regular,italic,bold,bolditalic' rel='stylesheet' type='text/css'>
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="{{ STATIC_URL }}css/jcarousel/tango/skin.css">
<link rel="stylesheet" href="https://www.google.com/cse/style/look/default.css" type="text/css" />

<link rel="stylesheet" href="{{ STATIC_URL }}css/overrides.css">
<script src="{{ STATIC_URL }}js/libs/jquery-1.8.2.min.js"></script>
Expand Down Expand Up @@ -125,25 +124,6 @@

</div>


<!-- START old search box display and script -->

<!-- <div id="cse-search-form" style="width: 100%;">{{
_('Loading') }}</div> -->
<script src="https://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : '{{ _('en') }}'});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl('013528701088014865040:0q9njevslw0');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
var options = new google.search.DrawOptions();
var search_page_url = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'p2pu.org/search';
options.enableSearchboxOnly(search_page_url);
customSearchControl.draw('cse-search-form', options);
}, true);
</script>

<!-- END old search box display and script -->
</div>
</div>
</div>
Expand Down

0 comments on commit a7bb4c3

Please sign in to comment.