mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
A couple of fixes for the search PHP code
This commit is contained in:
parent
ed25dcc2c1
commit
8ea5bccafc
@ -24,7 +24,7 @@
|
|||||||
if (! $query) {
|
if (! $query) {
|
||||||
echo "<h1 align='center'>Search the documentation on Libvir.org</h1>";
|
echo "<h1 align='center'>Search the documentation on Libvir.org</h1>";
|
||||||
}
|
}
|
||||||
$scope = $_GET['scope"'];
|
$scope = $_GET['scope'];
|
||||||
if ($scope == NULL)
|
if ($scope == NULL)
|
||||||
$scope = "any";
|
$scope = "any";
|
||||||
$scope = ltrim ($scope);
|
$scope = ltrim ($scope);
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
<p> The search service indexes the libvirt APIs and documentation as well as the libvir-list@redhat.com mailing-list archives. To use it simply provide a set of keywords:</p>
|
<p> The search service indexes the libvirt APIs and documentation as well as the libvir-list@redhat.com mailing-list archives. To use it simply provide a set of keywords:</p>
|
||||||
<form action="<?php echo "$_SERVER['PHP_SELF']", "?query=", rawurlencode($query) ?>"
|
<form action="<?php echo $_SERVER['PHP_SELF'], "?query=", rawurlencode($query) ?>"
|
||||||
enctype="application/x-www-form-urlencoded" method="get">
|
enctype="application/x-www-form-urlencoded" method="get">
|
||||||
<input name="query" type="text" size="50" value="<?php echo $query?>"/>
|
<input name="query" type="text" size="50" value="<?php echo $query?>"/>
|
||||||
<select name="scope">
|
<select name="scope">
|
||||||
|
Loading…
Reference in New Issue
Block a user