aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/admin/users/find.php22
-rw-r--r--views/default/css.php11
2 files changed, 19 insertions, 14 deletions
diff --git a/views/default/admin/users/find.php b/views/default/admin/users/find.php
index a2fcc1a56..22fe3091f 100644
--- a/views/default/admin/users/find.php
+++ b/views/default/admin/users/find.php
@@ -11,17 +11,13 @@
echo elgg_view_title(elgg_echo('admin:users'));
if( (is_plugin_enabled('search')) && (is_plugin_enabled('profile')) ) {
-?>
- <div class="admin_settings user_search">
- <form action="<?php echo $vars['url']; ?>pg/search/" method="get">
- <h3><?php echo elgg_echo('admin:user:label:search'); ?></h3>
- <?php echo elgg_view('input/text',array('internalname' => 'q')); ?>
- <input type="hidden" name="entity_type" value="user" />
- <input type="hidden" name="search_type" value="entities" />
- <input type="submit" name="<?php echo elgg_echo('admin:user:label:searchbutton'); ?>"
- value="<?php echo elgg_echo('admin:user:label:searchbutton'); ?>" />
- </form>
- </div>
-<?php
+ $header = elgg_echo('admin:user:label:search');
+ $input = elgg_view('input/userpicker', array('internalname' => 'q'));
+
+ echo <<<__HTML
+<div class="admin_settings user_search">
+ <h3>$header</h3>
+ $input
+</div>
+__HTML;
}
-?> \ No newline at end of file
diff --git a/views/default/css.php b/views/default/css.php
index ef0f84d0f..082a60b15 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -1536,4 +1536,13 @@ p.elgg_likes_owner {
padding-top:4px;
}
-
+.user_picker .user_picker_entry {
+ clear:both;
+ height:25px;
+ padding:5px;
+ margin-top:5px;
+ border-bottom:1px solid #cccccc;
+}
+.user_picker_entry .delete_button {
+ margin-right:10px;
+}