diff options
-rw-r--r-- | entities/list.php | 2 | ||||
-rw-r--r-- | mod/blog/start.php | 2 | ||||
-rwxr-xr-x | mod/bookmarks/views/default/bookmarks/stats.php | 2 | ||||
-rw-r--r-- | mod/bookmarks/views/default/widgets/bookmarks/view.php | 2 | ||||
-rw-r--r-- | mod/members/index.php | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/entities/list.php b/entities/list.php index 3d6089315..c121d010c 100644 --- a/entities/list.php +++ b/entities/list.php @@ -10,7 +10,7 @@ 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 diff --git a/mod/blog/start.php b/mod/blog/start.php index bbae1eb6c..b3a8e32ee 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -36,7 +36,7 @@ function blog_init() { // 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'); diff --git a/mod/bookmarks/views/default/bookmarks/stats.php b/mod/bookmarks/views/default/bookmarks/stats.php index cd47a94cc..07450fd2e 100755 --- a/mod/bookmarks/views/default/bookmarks/stats.php +++ b/mod/bookmarks/views/default/bookmarks/stats.php @@ -3,7 +3,7 @@ * All site bookmark stats
**/
-$count_bookmarks = get_entities("object", "bookmarks",0,"",10,0,true,0,null,0,0);
+$count_bookmarks = elgg_get_entities("object", "bookmarks",0,"",10,0,true,0,null,0,0);
$count_bookmark_comments = count_annotations(0, "object", "bookmarks","generic_comment");
echo "<h3>Bookmark stats</h3>";
diff --git a/mod/bookmarks/views/default/widgets/bookmarks/view.php b/mod/bookmarks/views/default/widgets/bookmarks/view.php index 482a4e3d9..4240b95f0 100644 --- a/mod/bookmarks/views/default/widgets/bookmarks/view.php +++ b/mod/bookmarks/views/default/widgets/bookmarks/view.php @@ -17,7 +17,7 @@ if(!$num) $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){ diff --git a/mod/members/index.php b/mod/members/index.php index 2962f7768..5ad37aa70 100644 --- a/mod/members/index.php +++ b/mod/members/index.php @@ -45,7 +45,7 @@ $area2 = elgg_view_title($pagetitle); //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); |