| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
require_once(dirname(dirname(__FILE__))."/includes.php"); |
|---|
| 7 |
|
|---|
| 8 |
run("search:init"); |
|---|
| 9 |
run("search:all:tagtypes"); |
|---|
| 10 |
|
|---|
| 11 |
define("context","search"); |
|---|
| 12 |
|
|---|
| 13 |
$title = __gettext("Searching Everything"); |
|---|
| 14 |
$tag = optional_param('tag'); |
|---|
| 15 |
|
|---|
| 16 |
templates_page_setup(); |
|---|
| 17 |
$body = run("content:search:all"); |
|---|
| 18 |
$body .= run("search:all:display", $tag); |
|---|
| 19 |
|
|---|
| 20 |
$body = templates_draw(array( |
|---|
| 21 |
'context' => 'contentholder', |
|---|
| 22 |
'title' => $title, |
|---|
| 23 |
'body' => $body |
|---|
| 24 |
) |
|---|
| 25 |
); |
|---|
| 26 |
|
|---|
| 27 |
echo templates_page_draw( array( |
|---|
| 28 |
$title, $body |
|---|
| 29 |
) |
|---|
| 30 |
); |
|---|
| 31 |
|
|---|
| 32 |
?> |
|---|