From 66e5946c98c1e441e7ffaf3e2326fc0708b14f2d Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Thu, 5 Jul 2012 20:47:33 -0400 Subject: Fixes #4627 removes pagination --- views/default/widgets/new_users/content.php | 3 ++- views/default/widgets/online_users/content.php | 11 ++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/default/widgets/new_users/content.php b/views/default/widgets/new_users/content.php index 207a67a9d..ba85e7421 100644 --- a/views/default/widgets/new_users/content.php +++ b/views/default/widgets/new_users/content.php @@ -6,5 +6,6 @@ echo elgg_list_entities(array( 'type' => 'user', 'subtype'=> null, - 'full_view' => FALSE + 'full_view' => false, + 'pagination' => false, )); \ No newline at end of file diff --git a/views/default/widgets/online_users/content.php b/views/default/widgets/online_users/content.php index d81ff3705..6e0cc7abb 100644 --- a/views/default/widgets/online_users/content.php +++ b/views/default/widgets/online_users/content.php @@ -3,4 +3,13 @@ * Online users widget */ -echo $users_online = get_online_users(); \ No newline at end of file +$count = find_active_users(600, 10, 0, true); +$objects = find_active_users(600, 10); + +if ($objects) { + echo elgg_view_entity_list($objects, array( + 'count' => $count, + 'limit' => 10, + 'pagination' => false, + )); +} -- cgit v1.2.3