root/releases/0.2/profile/edit.php

Revision 9, 0.5 kB (checked in by sven, 3 years ago)

snapshot of elgg 0.2

Line 
1 <?php
2
3     //    ELGG profile edit page
4
5     // Run includes
6         require("../includes.php");
7         
8         run("profile:init");
9                 
10         protect(1);
11
12         global $page_owner;
13         
14         $title = run("users:display:name", $page_owner) . " :: Edit profile";
15         
16         $body = run("content:profile:edit");
17         $body .= run("profile:edit");
18         
19         $body = run("templates:draw", array(
20                         'context' => 'infobox',
21                         'name' => $title,
22                         'contents' => $body
23                     )
24                     );
25                     
26         echo run("templates:draw:page", array(
27                     $title, $body
28                 )
29                 );
30
31 ?>
Note: See TracBrowser for help on using the browser.