|
Revision 836, 0.7 kB
(checked in by sven, 2 years ago)
|
fix and extra messages for invite.
strip out a bunch of dead code from elgglib.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
// Run includes |
|---|
| 6 |
define("context","external"); |
|---|
| 7 |
require_once(dirname(dirname(__FILE__))."/includes.php"); |
|---|
| 8 |
|
|---|
| 9 |
run("invite:init"); |
|---|
| 10 |
templates_page_setup(); |
|---|
| 11 |
|
|---|
| 12 |
$title = sprintf(__gettext("Join %s"),sitename); |
|---|
| 13 |
|
|---|
| 14 |
$body = run("content:invite:join"); |
|---|
| 15 |
$body .= run("invite:join"); |
|---|
| 16 |
|
|---|
| 17 |
$body = templates_draw(array( |
|---|
| 18 |
'context' => 'contentholder', |
|---|
| 19 |
'title' => $title, |
|---|
| 20 |
'body' => $body |
|---|
| 21 |
) |
|---|
| 22 |
); |
|---|
| 23 |
|
|---|
| 24 |
echo templates_page_draw( array( |
|---|
| 25 |
$title, $body |
|---|
| 26 |
) |
|---|
| 27 |
); |
|---|
| 28 |
|
|---|
| 29 |
?> |
|---|