aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/users/find.php
blob: 22fe3091ff2f58a25556820d090934d156fb66d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Elgg user search box.
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

echo elgg_view_title(elgg_echo('admin:users'));

if( (is_plugin_enabled('search')) && (is_plugin_enabled('profile')) ) {
	$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;
}