root/releases/0.6rc2/search/index.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 profile search 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("Search");
12         templates_page_setup();
13
14         $body = run("content:profile:search");
15         $body .= run("search:display");
16         
17         $body = templates_draw(array(
18                         'context' => 'contentholder',
19                         'title' => $title,
20                         'body' => $body
21                     )
22                     );
23                     
24         echo templates_page_draw( array(
25                     $title, $body
26                 )
27                 );
28
29 ?>
Note: See TracBrowser for help on using the browser.