mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-24 05:01:23 +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
|
||||
if ($type_of_search == "news") {
|
||||
$string = $words;
|
||||
require("lib/sql.php");
|
||||
require("news_funcs.php");
|
||||
include("old_news.php");
|
||||
}
|
||||
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.';
|
||||
}
|
||||
?>
|
||||
<?
|
||||
require("parts/postamble.php"); // Finish this sucker up
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue