aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-03 14:15:57 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-03 14:15:57 +0000
commit10aa37d5257292b3aff2f7fefb96f9c02b7fbe2b (patch)
tree82da88534220acd55b3975b76ed885388c269a06 /admin
parent194fd2b91c047a0c0a505a30b81d86977f651c10 (diff)
downloadelgg-10aa37d5257292b3aff2f7fefb96f9c02b7fbe2b.tar.gz
elgg-10aa37d5257292b3aff2f7fefb96f9c02b7fbe2b.tar.bz2
Fixes #111
git-svn-id: https://code.elgg.org/elgg/trunk@1273 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'admin')
-rw-r--r--admin/user/index.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/admin/user/index.php b/admin/user/index.php
index e402ec1d2..09906fdf6 100644
--- a/admin/user/index.php
+++ b/admin/user/index.php
@@ -22,15 +22,20 @@
$limit = get_input('limit', 10);
$offset = get_input('offset', 0);
+ $context = get_context();
+ set_context('search');
+
if ($search){
$entities = search_for_user($search, $limit, $offset, "",false);
$count = search_for_user($search, $limit, $offset, "",true);
- $result = elgg_view_entity_list($entities, $count, $offset, $limit);
+ $result = elgg_view_entity_list($entities, $count, $offset, $limit, false);
} else
- $result = list_entities_from_metadata("", $tag, "user", "");
-
+ $result = list_entities_from_metadata("", $tag, "user", "",0, $limit, false);
+
+
+
// Display main admin menu
page_draw(elgg_echo("admin:user"),elgg_view_layout("one_column", elgg_view("admin/user", array('list' => $result))));
-
+ set_context($context);
?> \ No newline at end of file