|
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 |
|
|---|
| 3 |
|
|---|
| 4 |
// Run includes |
|---|
| 5 |
require_once(dirname(dirname(__FILE__))."/../includes.php"); |
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
run("userdetails:init"); |
|---|
| 9 |
run("profile:init"); |
|---|
| 10 |
|
|---|
| 11 |
run("communities:init"); |
|---|
| 12 |
|
|---|
| 13 |
$context = (defined('COMMUNITY_CONTEXT'))?COMMUNITY_CONTEXT:"network"; |
|---|
| 14 |
define("context", $context); |
|---|
| 15 |
|
|---|
| 16 |
templates_page_setup(); |
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
global $page_owner; |
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
// protect(1); |
|---|
| 23 |
|
|---|
| 24 |
$title = run("profile:display:name") . " :: ". __gettext("Membership invitations"); |
|---|
| 25 |
|
|---|
| 26 |
include './lib/community_membership_invitations.php'; |
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 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 |
?> |
|---|