From c807d40facfc79a20668e8c4e53c1e7204355a56 Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 2 Apr 2010 08:26:53 +0000 Subject: bookmark stats now correct, missing strings applied and a function call moved out of the view. git-svn-id: http://code.elgg.org/elgg/trunk@5574 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/all.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/bookmarks/all.php') diff --git a/mod/bookmarks/all.php b/mod/bookmarks/all.php index 88258c855..a4bdae7af 100644 --- a/mod/bookmarks/all.php +++ b/mod/bookmarks/all.php @@ -28,7 +28,8 @@ if(isloggedin()){ $area3 .= elgg_view("bookmarks/bookmarklet"); } // include statistics -$area3 .= elgg_view("bookmarks/stats"); +$count = elgg_get_entities(array('type' => 'object', 'subtype' => 'bookmarks', 'count' => true)); +$area3 .= elgg_view("bookmarks/stats", array('count' => $count)); // Format page $body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3); -- cgit v1.2.3