|
Revision 478, 0.7 kB
(checked in by ben, 2 years ago)
|
Registration, password reset and invitation pages can be viewed outside of a walled garden.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 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("Get new %s password"), sitename); |
|---|
| 12 |
|
|---|
| 13 |
$body = run("invite:password:new"); |
|---|
| 14 |
|
|---|
| 15 |
$body .= templates_draw(array( |
|---|
| 16 |
'context' => 'contentholder', |
|---|
| 17 |
'title' => $title, |
|---|
| 18 |
'body' => $body |
|---|
| 19 |
) |
|---|
| 20 |
); |
|---|
| 21 |
|
|---|
| 22 |
echo templates_page_draw( array( |
|---|
| 23 |
$title, $body |
|---|
| 24 |
) |
|---|
| 25 |
); |
|---|
| 26 |
|
|---|
| 27 |
?> |
|---|