|
Revision 478, 0.8 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("profile:init"); |
|---|
| 10 |
run("invite:init"); |
|---|
| 11 |
|
|---|
| 12 |
templates_page_setup(); |
|---|
| 13 |
|
|---|
| 14 |
$title = gettext("Generate a New Password"); |
|---|
| 15 |
|
|---|
| 16 |
$body = run("invite:password:request"); |
|---|
| 17 |
|
|---|
| 18 |
$body = templates_draw(array( |
|---|
| 19 |
'context' => 'contentholder', |
|---|
| 20 |
'title' => $title, |
|---|
| 21 |
'body' => $body |
|---|
| 22 |
) |
|---|
| 23 |
); |
|---|
| 24 |
|
|---|
| 25 |
echo templates_page_draw( array( |
|---|
| 26 |
$title, $body, ' ' |
|---|
| 27 |
) |
|---|
| 28 |
); |
|---|
| 29 |
|
|---|
| 30 |
?> |
|---|