website diff ru/search.php @ rev 1331

Use DuckDuckGo custom search instead of Google
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 13:14:01 2019 +0200 (2019-08-14)
parents edaa164f912a
children 826917ed1fb1
line diff
     1.1 --- a/ru/search.php	Fri Oct 23 20:58:02 2015 +0200
     1.2 +++ b/ru/search.php	Wed Aug 14 13:14:01 2019 +0200
     1.3 @@ -66,6 +66,7 @@
     1.4  </div>
     1.5  
     1.6  
     1.7 +<?php if (false) { ?>
     1.8  <h2>Поиск Google</h2>
     1.9  
    1.10  <p>
    1.11 @@ -88,6 +89,20 @@
    1.12  		}, true);
    1.13  	</script>
    1.14  </div>
    1.15 +<?php } if (true) { ?>
    1.16 +<h2>Поиск DuckDuckGo</h2>
    1.17 +
    1.18 +<p>
    1.19 +Эта страница позволяет выполнить поиск по всему сайту SliTaz GNU/Linux, в <a href="http://doc.slitaz.org/">документации</a> вики, в архиве <a href="mailing-list.php">рассылки</a>, а также на <a href="http://forum.slitaz.org/">форуме</a>.
    1.20 +Эта поисковая система была создана специально для SliTaz на основе пользовательского поиска DuckDuckGoTM.
    1.21 +</p>
    1.22 +
    1.23 +<div class="searchbox">
    1.24 +	<iframe src="https://duckduckgo.com/search.html?t=slitaz&kl=ru-ru&duck=yes&site=www.slitaz.org,doc.slitaz.org,forum.slitaz.org,https://listengine.tuxfamily.org/lists.tuxfamily.org/slitaz/&prefill=Пользовательский поиск"
    1.25 +	 style="overflow:hidden;margin:0;padding:0;width:603px;height:60px;" frameborder="0">
    1.26 +	</iframe>
    1.27 +</div>
    1.28 +<?php } ?>
    1.29  
    1.30  <div id="cse"></div>
    1.31