root/releases/0.672/_friends/friendsof.php
| Revision 659, 0.8 kB (checked in by misja, 2 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | // ELGG manage friends and groups page |
| 4 | |
| 5 | // Run includes |
| 6 | require_once(dirname(dirname(__FILE__))."/includes.php"); |
| 7 | |
| 8 | // Initialise functions for user details, icon management and profile management |
| 9 | run("userdetails:init"); |
| 10 | run("profile:init"); |
| 11 | run("friends:init"); |
| 12 | |
| 13 | define("context", "network"); |
| 14 | |
| 15 | // Whose friends are we looking at? |
| 16 | global $page_owner; |
| 17 | |
| 18 | // You must be logged on to view this! |
| 19 | // protect(1); |
| 20 | templates_page_setup(); |
| 21 | $title = run("profile:display:name") . " :: ". __gettext("Friends who have linked to you"); |
| 22 | |
| 23 | echo templates_page_draw( array( |
| 24 | $title, run("friends:of:editpage") |
| 25 | ) |
| 26 | ); |
| 27 | |
| 28 | ?> |
Note: See TracBrowser for help on using the browser.
