|
Revision 2, 0.6 kB
(checked in by sven, 3 years ago)
|
importing elgg-0.1.1a
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
// Run includes |
|---|
| 6 |
require("../includes.php"); |
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
run("userdetails:init"); |
|---|
| 10 |
run("profile:init"); |
|---|
| 11 |
run("files:init"); |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
global $page_owner; |
|---|
| 16 |
$title = run("profile:display:name") . " :: Edit File"; |
|---|
| 17 |
|
|---|
| 18 |
$body = run("content:files:edit"); |
|---|
| 19 |
$body .= run("files:edit"); |
|---|
| 20 |
|
|---|
| 21 |
echo run("templates:draw:page", array( |
|---|
| 22 |
$title, |
|---|
| 23 |
run("templates:draw", array( |
|---|
| 24 |
'context' => 'infobox', |
|---|
| 25 |
'name' => $title, |
|---|
| 26 |
'contents' => $body |
|---|
| 27 |
) |
|---|
| 28 |
) |
|---|
| 29 |
) |
|---|
| 30 |
); |
|---|
| 31 |
|
|---|
| 32 |
?> |
|---|