|
Revision 1540, 0.7 kB
(checked in by renato, 1 year ago)
|
Setting prop svn:eol-style in another lot of files.
|
- Property svn:mime-type set to
text/plain
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
// ELGG join-with-no-invite page |
|---|
| 5 |
|
|---|
| 6 |
// Run includes |
|---|
| 7 |
define("context", "external"); |
|---|
| 8 |
require_once (dirname(dirname(__FILE__)) . "/../includes.php"); |
|---|
| 9 |
|
|---|
| 10 |
run("invite:init"); |
|---|
| 11 |
templates_page_setup(); |
|---|
| 12 |
if (!array_key_exists('invitation_success', $messages)) { |
|---|
| 13 |
$title= sprintf(__gettext("Join %s"), sitename); |
|---|
| 14 |
|
|---|
| 15 |
$body= run("content:invite:join"); |
|---|
| 16 |
$body .= run("join:no_invite"); |
|---|
| 17 |
|
|---|
| 18 |
} else { |
|---|
| 19 |
$title= sprintf(__gettext("Welcome to %s"), sitename); |
|---|
| 20 |
|
|---|
| 21 |
if (array_key_exists("invite:register:welcome:success", $function)) { |
|---|
| 22 |
$body = run("invite:register:welcome:success"); |
|---|
| 23 |
} else { |
|---|
| 24 |
$body = run("invite:register:default:welcome:success"); |
|---|
| 25 |
} |
|---|
| 26 |
} |
|---|
| 27 |
|
|---|
| 28 |
templates_page_output($title, $body); |
|---|
| 29 |
|
|---|
| 30 |
?> |
|---|