|
@@ -21,12 +21,10 @@
|
|
|
{
|
|
|
$config = require "config.php";
|
|
|
|
|
|
- if (isset($_COOKIE[$frontend]) || isset($_REQUEST[$frontend]) || !empty($config->$frontend))
|
|
|
+ if (isset($_COOKIE[$frontend]) || !empty($config->$frontend))
|
|
|
{
|
|
|
if (isset($_COOKIE[$frontend]))
|
|
|
$frontend = $_COOKIE[$frontend];
|
|
|
- else if (isset($_REQUEST[$frontend]))
|
|
|
- $frontend = $_REQUEST[$frontend];
|
|
|
else if (!empty($config->$frontend))
|
|
|
$frontend = $config->$frontend;
|
|
|
|
|
@@ -140,7 +138,7 @@
|
|
|
|
|
|
function check_for_special_search($query)
|
|
|
{
|
|
|
- if (isset($_COOKIE["disable_special"]) || isset($_REQUEST["disable_special"]))
|
|
|
+ if (isset($_COOKIE["disable_special"]))
|
|
|
return 0;
|
|
|
|
|
|
$query_lower = strtolower($query);
|
|
@@ -226,13 +224,6 @@
|
|
|
function print_next_page_button($text, $page, $query, $type)
|
|
|
{
|
|
|
echo "<form class=\"page\" action=\"search.php\" target=\"_top\" method=\"get\" autocomplete=\"off\">";
|
|
|
- foreach($_REQUEST as $key=>$value)
|
|
|
- {
|
|
|
- if ($key != "q" && $key != "p" && $key != "t")
|
|
|
- {
|
|
|
- echo "<input type=\"hidden\" name=\"$key\" value=\"$value\"/>";
|
|
|
- }
|
|
|
- }
|
|
|
echo "<input type=\"hidden\" name=\"p\" value=\"" . $page . "\" />";
|
|
|
echo "<input type=\"hidden\" name=\"q\" value=\"$query\" />";
|
|
|
echo "<input type=\"hidden\" name=\"t\" value=\"$type\" />";
|