mirror of
https://git.code.sf.net/p/quake/website
synced 2025-02-17 17:31:39 +00:00
hopefully fix sidebar search for real this time
This commit is contained in:
parent
334fe90287
commit
8488d0e75c
1 changed files with 4 additions and 9 deletions
13
search.php
13
search.php
|
@ -1,19 +1,14 @@
|
||||||
<? // Preamble
|
|
||||||
$pageName = "Search Results";
|
|
||||||
$focused = "none"; // Dock icon name to gets a border
|
|
||||||
require("parts/preamble.php"); // Load most of document
|
|
||||||
?>
|
|
||||||
<?php
|
<?php
|
||||||
if ($type_of_search == "news") {
|
if ($type_of_search == "news") {
|
||||||
$string = $words;
|
$string = $words;
|
||||||
require("lib/sql.php");
|
|
||||||
require("news_funcs.php");
|
|
||||||
include("old_news.php");
|
include("old_news.php");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
// Preamble
|
||||||
|
$pageName = "Search Results";
|
||||||
|
$focused = "none"; // Dock icon name to gets a border
|
||||||
|
require("parts/preamble.php"); // Load most of document
|
||||||
echo '<P>That type of search isn\'t supported yet. Please check back later.';
|
echo '<P>That type of search isn\'t supported yet. Please check back later.';
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
<?
|
|
||||||
require("parts/postamble.php"); // Finish this sucker up
|
require("parts/postamble.php"); // Finish this sucker up
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue