Fixing a stupid mistake
[elgg.git] / _communities / owned.php
blobf16b774422e785346e9d58f6fe66f59352fe5e9c
1 <?php
3 // ELGG manage community members page
5 // Run includes
6 require_once(dirname(dirname(__FILE__))."/includes.php");
8 // Initialise functions for user details, icon management and profile management
9 run("userdetails:init");
10 run("profile:init");
11 run("friends:init");
13 define("context", "network");
14 templates_page_setup();
16 // Whose friends are we looking at?
17 global $page_owner;
19 // You must be logged on to view this!
20 // protect(1);
22 $title = run("profile:display:name") . " :: " . __gettext("Owned Communities");
24 echo templates_page_draw( array(
25 $title, templates_draw(array(
26 'context' => 'contentholder',
27 'title' => $title,
28 'body' => run("communities:owned",array($page_owner))