root/releases/0.9rc1/search/tags.php
| Revision 659, 0.7 kB (checked in by misja, 2 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | // ELGG display popular tags page |
| 4 | |
| 5 | // Run includes |
| 6 | require_once(dirname(dirname(__FILE__))."/includes.php"); |
| 7 | |
| 8 | run("search:init"); |
| 9 | |
| 10 | define("context","search"); |
| 11 | |
| 12 | $title = __gettext("Some Tags"); |
| 13 | templates_page_setup(); |
| 14 | $body = run("content:tags"); |
| 15 | $body .= run("search:tags: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.
