diff options
Diffstat (limited to 'views/default/admin/users')
-rw-r--r-- | views/default/admin/users/find.php | 22 |
1 files changed, 9 insertions, 13 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 |