root/releases/0.65/_invite/register.php
| Revision 478, 0.7 kB (checked in by ben, 2 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | // ELGG join-with-no-invite page |
| 4 | |
| 5 | // Run includes |
| 6 | define("context","login"); |
| 7 | require_once(dirname(dirname(__FILE__))."/includes.php"); |
| 8 | |
| 9 | run("invite:init"); |
| 10 | templates_page_setup(); |
| 11 | $title = sprintf(gettext("Join %s"), sitename); |
| 12 | |
| 13 | $body = run("content:invite:join"); |
| 14 | $body .= run("join:no_invite"); |
| 15 | |
| 16 | $body = templates_draw(array( |
| 17 | 'context' => 'contentholder', |
| 18 | 'title' => $title, |
| 19 | 'body' => $body |
| 20 | ) |
| 21 | ); |
| 22 | |
| 23 | echo templates_page_draw( array( |
| 24 | $title, $body |
| 25 | ) |
| 26 | ); |
| 27 | |
| 28 | ?> |
Note: See TracBrowser for help on using the browser.
