aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/members/sidebar.php
blob: 821547f9931b25bf5c722b775ef62023a3dfaa9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
 * Members sidebar
 */

// Tag search
$params = array(
	'method' => 'get',
	'action' => elgg_get_site_url() . 'pg/members/search/tag/',
	'disable_security' => true,
);
$body = elgg_view_form('members/tag_search', $params);

$params = array(
	'title' => elgg_echo('members:searchtag'),
	'body' => $body,
);
echo elgg_view('layout/objects/module', $params);


// name search
$params = array(
	'method' => 'get',
	'action' => elgg_get_site_url() . 'pg/members/search/name/',
	'disable_security' => true,
);
$body = elgg_view_form('members/name_search', $params);

$params = array(
	'title' => elgg_echo('members:searchname'),
	'body' => $body,
);
echo elgg_view('layout/objects/module', $params);