require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
set_context('search');
-$area2 = list_entities("","",0,10,false);
+$area2 = elgg_list_entities("","",0,10,false);
set_context('entities');
$body = elgg_view_layout('two_column_left_sidebar',$area1, $area2);
page_draw("",$body);
\ No newline at end of file
// Set up menus
add_menu(elgg_echo('blog'), "{$CONFIG->wwwroot}pg/blog/", array());
- extend_view('css', 'blog/css');
+ elgg_extend_view('css', 'blog/css');
register_page_handler('blog', 'blog_page_handler');
register_page_handler('blog_ajax', 'blog_ajax_page_handler');
* All site bookmark stats\r
**/\r
\r
-$count_bookmarks = get_entities("object", "bookmarks",0,"",10,0,true,0,null,0,0);\r
+$count_bookmarks = elgg_get_entities("object", "bookmarks",0,"",10,0,true,0,null,0,0);\r
$count_bookmark_comments = count_annotations(0, "object", "bookmarks","generic_comment");\r
\r
echo "<h3>Bookmark stats</h3>";\r
$num = 4;
//grab the users bookmarked items
-$bookmarks = get_entities('object', 'bookmarks',$vars['entity']->owner_guid, "", $num, 0, false);
+$bookmarks = elgg_get_entities('object', 'bookmarks',$vars['entity']->owner_guid, "", $num, 0, false);
if($bookmarks){
//get the correct view based on filter
switch($filter){
case "newest":
- $content = list_entities("user","",0,10,false);
+ $content = elgg_list_entities("user","",0,10,false);
break;
case "pop":
$filter_content = list_entities_by_relationship_count('friend', true, '', '', 0, 10, false);