root/devel/mod/community/user_community_invitations.php

Revision 1539, 1.1 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     //    ELGG manage friendship requests page
3
4     // Run includes
5         require_once(dirname(dirname(__FILE__))."/../includes.php");
6
7     // Initialise functions for user details, icon management and profile management
8         run("userdetails:init");
9         run("profile:init");
10         //run("friends:init");
11         run("communities:init");
12
13         $context = (defined('COMMUNITY_CONTEXT'))?COMMUNITY_CONTEXT:"network";
14         define("context", $context);
15         
16         templates_page_setup();
17
18     // Whose friends are we looking at?
19         global $page_owner;
20
21     // You must be logged on to view this!
22     //    protect(1);
23
24         $title = run("profile:display:name") . " :: ". __gettext("Membership invitations");
25
26         include './lib/community_membership_invitations.php';
27         
28 //        $body .= $run_result;
29     echo templates_page_draw( array(
30             $title, templates_draw(array(
31                 'context' => 'contentholder',
32                 'title' => $title,
33                 'body' => $body
34             )
35             )
36         )
37         );
38 ?>
Note: See TracBrowser for help on using the browser.