aboutsummaryrefslogtreecommitdiff
path: root/admin/user
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 21:05:45 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 21:05:45 +0000
commitfa82440351a6f05e0d16b8cb45524898d9f5f713 (patch)
tree987025b876f3a6b7e436fab12e796ae824898ad2 /admin/user
parent7d23531aad07826223531ad58a12a2cbaea38e89 (diff)
downloadelgg-fa82440351a6f05e0d16b8cb45524898d9f5f713.tar.gz
elgg-fa82440351a6f05e0d16b8cb45524898d9f5f713.tar.bz2
Further changes to the admin panel
git-svn-id: https://code.elgg.org/elgg/trunk@1694 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'admin/user')
-rw-r--r--admin/user/index.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/admin/user/index.php b/admin/user/index.php
index cd2b68d52..c18ed6c16 100644
--- a/admin/user/index.php
+++ b/admin/user/index.php
@@ -23,20 +23,20 @@
$offset = get_input('offset', 0);
$context = get_context();
+
+ $title = elgg_view_title(elgg_echo('admin:user'));
+
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, false);
- } else {
- $result = list_entities_from_metadata("", $tag, "user", "",0, $limit, false);
- }
-
-
+
+ $result = list_entities('user');
+
+ set_context('admin');
// Display main admin menu
- page_draw(elgg_echo("admin:user"),elgg_view_layout("one_column", elgg_view("admin/user") . $result));
- set_context($context);
+ page_draw(elgg_echo("admin:user"),
+ elgg_view_layout("two_column_left_sidebar",
+ '',
+ $title . elgg_view("admin/user") . $result)
+ );
+
?> \ No newline at end of file