root/releases/0.9rc2/search/all.php

Revision 895, 0.8 kB (checked in by ben, 2 years ago)

Search queries now show up in the title of search pages.

  • 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 define("context","search");
12
13 $tag = optional_param('tag');
14 $title = __gettext("Searching") . " : " . $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 ?>
Note: See TracBrowser for help on using the browser.