root/releases/0.65/search/all.php

Revision 296, 0.7 kB (checked in by carmartin, 3 years ago)

Includes should use full path given that we know where things are. Patch 1.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3 //    ELGG search through everything page
4
5 // Run includes
6 require_once(dirname(dirname(__FILE__))."/includes.php");
7
8 run("search:init");
9 run("search:all:tagtypes");
10
11 $title = gettext("Searching Everything");
12 $tag = optional_param('tag');
13
14 templates_page_setup();
15 $body = run("content:search:all");
16 $body .= run("search:all:display", $tag);
17
18 $body = templates_draw(array(
19                              'context' => 'contentholder',
20                              'title' => $title,
21                              'body' => $body
22                              )
23                        );
24                       
25 echo templates_page_draw( array(
26                                       $title, $body
27                                       )
28          );
29
30 ?>
Note: See TracBrowser for help on using the browser.