root/releases/0.2/_weblog/index.php

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

importing elgg-0.1.1a

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