aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/members/sidebar.php
blob: 21700350488b51815d8752e1f943f3cac64e4350 (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
34
35
<?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,
	'class' => 'elgg-module-aside',
);
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,
	'class' => 'elgg-module-aside',
);
echo elgg_view('layout/objects/module', $params);