root/releases/0.401/_templates/index.php
| Revision 45, 0.6 kB (checked in by sven, 3 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | // ELGG template create / select page |
| 4 | |
| 5 | // Run includes |
| 6 | require("../includes.php"); |
| 7 | |
| 8 | protect(1); |
| 9 | |
| 10 | run("profile:init"); |
| 11 | run("templates:init"); |
| 12 | |
| 13 | define("context", "account"); |
| 14 | |
| 15 | $title = run("profile:display:name") . " :: ". gettext("Select / Create Themes"); |
| 16 | |
| 17 | $body = run("content:templates:view"); |
| 18 | $body .= run("templates:view"); |
| 19 | $body .= run("content:templates:add"); |
| 20 | $body .= run("templates:add"); |
| 21 | |
| 22 | $body = run("templates:draw", array( |
| 23 | 'context' => 'contentholder', |
| 24 | 'title' => $title, |
| 25 | 'body' => $body |
| 26 | ) |
| 27 | ); |
| 28 | |
| 29 | echo run("templates:draw:page", array( |
| 30 | $title, $body |
| 31 | ) |
| 32 | ); |
| 33 | |
| 34 | ?> |
Note: See TracBrowser for help on using the browser.
