root/releases/0.672/search/all.php

Revision 659, 0.8 kB (checked in by misja, 2 years ago)

Taking gettext to a new level, see message <http://lists.elgg.org/pipermail/development/2006-October/000590.html>. In a nutshell: all gettext calls are replaced by gettext, revamped gettext handling plus some additional fixes.

  • 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 $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 ?>
Note: See TracBrowser for help on using the browser.