root/devel/mod/community/new.php

Revision 1539, 0.7 kB (checked in by renato, 1 year ago)

Setting prop svn:eol-style in LOTS of files.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     //    ELGG manage community members 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         run("communities:init");
13
14         require_login();
15
16         $context = (defined('COMMUNITY_CONTEXT'))?COMMUNITY_CONTEXT:"network";
17
18         define("context", $context);
19         templates_page_setup();
20
21         $title = run("profile:display:name") . " :: " . __gettext("Owned Communities");
22         $body = run('communities:create', array($page_owner));
23
24         templates_page_output($title, $body);
25
26 ?>
Note: See TracBrowser for help on using the browser.