aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/members/sidebar.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/core/members/sidebar.php')
-rw-r--r--views/default/core/members/sidebar.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/views/default/core/members/sidebar.php b/views/default/core/members/sidebar.php
new file mode 100644
index 000000000..821547f99
--- /dev/null
+++ b/views/default/core/members/sidebar.php
@@ -0,0 +1,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);