mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
docs: Use google sitesearch for website search
The website search is perpetually broken, has had XSS issues in the past, and I suspect when it's working it's not as fast or capable as a simple google site:libvirt.org search Replace the <form> implementation with one that sends the user to google.com with 'site:libvirt.org' appended to the search string Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
ce5346292a
commit
7c3927d288
@ -155,11 +155,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div id="search">
|
||||
<form action="{$href_base}search.php" enctype="application/x-www-form-urlencoded" method="get">
|
||||
<div>
|
||||
<input name="query" type="text" size="12" value=""/>
|
||||
<input name="submit" type="submit" value="Go"/>
|
||||
</div>
|
||||
<form action="https://www.google.com/search" enctype="application/x-www-form-urlencoded" method="get">
|
||||
<input name="sitesearch" type="hidden" value="libvirt.org"/>
|
||||
<input name="q" type="text" size="12" value=""/>
|
||||
<input type="submit" value="Go"/>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user