root/releases/0.2/_templates/index.php

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

importing elgg-0.1.1a

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         $title = run("profile:display:name") . " :: Select / Create Template";
14         
15         $body = run("content:templates:view");
16         $body .= run("templates:view");
17         $body .= run("content:templates:add");
18         $body .= run("templates:add");
19         
20         $body = run("templates:draw", array(
21                         'context' => 'infobox',
22                         'name' => $title,
23                         'contents' => $body
24                     )
25                     );
26         
27         echo run("templates:draw:page", array(
28                         $title, $body
29                     )
30                     );
31
32 ?>
Note: See TracBrowser for help on using the browser.