root/releases/0.1.2a/profile/index.php
| Revision 2, 468 bytes (checked in by sven, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | // ELGG profile view page |
| 4 | |
| 5 | // Run includes |
| 6 | require("../includes.php"); |
| 7 | |
| 8 | run("profile:init"); |
| 9 | |
| 10 | $title = run("profile:display:name"); |
| 11 | |
| 12 | $body = run("content:profile:view"); |
| 13 | $body .= run("profile:view"); |
| 14 | |
| 15 | $body = run("templates:draw", array( |
| 16 | 'context' => 'infobox', |
| 17 | 'name' => $title, |
| 18 | 'contents' => $body |
| 19 | ) |
| 20 | ); |
| 21 | |
| 22 | echo run("templates:draw:page", array( |
| 23 | $title, $body |
| 24 | ) |
| 25 | ); |
| 26 | |
| 27 | ?> |
Note: See TracBrowser for help on using the browser.
