aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/views/default
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-02 08:26:53 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-02 08:26:53 +0000
commitc807d40facfc79a20668e8c4e53c1e7204355a56 (patch)
treef916c566623af6d5db370f9258eba94b20c4d08e /mod/bookmarks/views/default
parent0049edf985e6aad1963d5bfcd2a245dbc7b4e299 (diff)
downloadelgg-c807d40facfc79a20668e8c4e53c1e7204355a56.tar.gz
elgg-c807d40facfc79a20668e8c4e53c1e7204355a56.tar.bz2
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
Diffstat (limited to 'mod/bookmarks/views/default')
-rwxr-xr-xmod/bookmarks/views/default/bookmarks/stats.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/stats.php b/mod/bookmarks/views/default/bookmarks/stats.php
index a9cad12b3..77c3d703f 100755
--- a/mod/bookmarks/views/default/bookmarks/stats.php
+++ b/mod/bookmarks/views/default/bookmarks/stats.php
@@ -3,8 +3,5 @@
* All site bookmark stats
**/
-$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>";
-echo "<p>".$count_bookmarks . " resources bookmarked.</p>";
+echo "<h3>".elgg_echo('bookmarks:stats')."</h3>";
+echo "<p>". $vars['count'] . " " . elgg_echo('bookmarks:resources') .".</p>"; \ No newline at end of file