root/releases/0.301/_weblog/archive.php

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

snapshot of elgg 0.301

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         define("context", "weblog");
13         
14         $title = run("profile:display:name") . " :: " . gettext("Blog Archives");
15         
16         $body = run("content:weblogs:archives:view");
17         $body .= run("weblogs:archives:view");
18         
19         $body = run("templates:draw", array(
20                         'context' => 'contentholder',
21                         'title' => $title,
22                         'body' => $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.