Wrapped own blog posts in the div: id=view_own_blog
[elgg.git] / _weblog / friends.php
blob1cedd72485dd5a7267a491cc552ef3eec0a4faab
1 <?php
3 // ELGG weblog view page
5 // Run includes
6 require_once(dirname(dirname(__FILE__))."/includes.php");
8 run("profile:init");
9 run("weblogs:init");
10 run("friends:init");
12 define("context", "weblog");
13 templates_page_setup();
15 $title = run("profile:display:name") . " :: ". gettext("Friends blog");
17 $body = run("content:weblogs:view");
18 $body .= run("weblogs:friends:view");
20 $body = templates_draw(array(
21 'context' => 'contentholder',
22 'title' => $title,
23 'body' => "<div id=\"view_friends_blogs\">" . $body . "</div>"
27 echo templates_page_draw( array(
28 $title, $body