aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/members/sidebar.php
blob: fba0270e52a887c1b127afa0bf1a8992458b4593 (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-aside-module',
);
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-aside-module',
);
echo elgg_view('layout/objects/module', $params);