|
Revision 296, 0.7 kB
(checked in by carmartin, 3 years ago)
|
Includes should use full path given that we know where things are. Patch 1.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
require_once(dirname(dirname(__FILE__))."/includes.php"); |
|---|
| 7 |
|
|---|
| 8 |
run("profile:init"); |
|---|
| 9 |
run("userdetails:init"); |
|---|
| 10 |
|
|---|
| 11 |
$context = optional_param('context','account'); |
|---|
| 12 |
define('context',$context); |
|---|
| 13 |
|
|---|
| 14 |
protect(1); |
|---|
| 15 |
|
|---|
| 16 |
templates_page_setup(); |
|---|
| 17 |
|
|---|
| 18 |
$title = run("profile:display:name") . " :: ". gettext("Edit user details"); |
|---|
| 19 |
|
|---|
| 20 |
$body = templates_draw(array( |
|---|
| 21 |
'context' => 'contentholder', |
|---|
| 22 |
'title' => $title, |
|---|
| 23 |
'body' => run("userdetails:edit") |
|---|
| 24 |
) |
|---|
| 25 |
); |
|---|
| 26 |
|
|---|
| 27 |
echo templates_page_draw( array( |
|---|
| 28 |
$title, $body |
|---|
| 29 |
) |
|---|
| 30 |
); |
|---|
| 31 |
|
|---|
| 32 |
?> |
|---|