root/releases/0.301/_userdetails/index.php

Revision 11, 0.6 kB (checked in by sven, 3 years ago)

snapshot of elgg 0.301

Line 
1 <?php
2
3     //    ELGG change user details page
4
5     // Run includes
6         require("../includes.php");
7
8         run("profile:init");
9         run("userdetails:init");
10         
11         if (isset($_REQUEST['context'])) {
12             define("context", $_REQUEST['context']);
13         } else {
14             define("context", "account");
15         }
16
17         protect(1);
18                 
19         $title = run("profile:display:name") . " :: ". gettext("Edit user details");
20         
21         $body = run("templates:draw", array(
22                 'context' => 'contentholder',
23                 'title' => $title,
24                 'body' => run("userdetails:edit")
25             )
26             );
27         
28         echo run("templates:draw:page", array(
29                 $title, $body
30             )
31             );
32
33 ?>
Note: See TracBrowser for help on using the browser.