aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/users/find.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-05 19:14:48 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-05 19:14:48 +0000
commitff31226fdeb972aac2f37f0098240cb366a9bb26 (patch)
tree1f0caa75c9a340cf28ce9a81a4cbe3230d13abf3 /views/default/admin/users/find.php
parent81ffac29fabc175eebdbf95578da046f4f00611b (diff)
downloadelgg-ff31226fdeb972aac2f37f0098240cb366a9bb26.tar.gz
elgg-ff31226fdeb972aac2f37f0098240cb366a9bb26.tar.bz2
Merged 18_new_admin branch to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@5977 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/users/find.php')
-rw-r--r--views/default/admin/users/find.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/views/default/admin/users/find.php b/views/default/admin/users/find.php
new file mode 100644
index 000000000..9684cb88c
--- /dev/null
+++ b/views/default/admin/users/find.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Elgg user search box.
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
+
+if( (is_plugin_enabled('search')) && (is_plugin_enabled('profile')) ) {
+?>
+ <div class="admin_settings user_search">
+ <form action="<?php echo $vars['url']; ?>pg/search/" method="get">
+ <h3><?php echo elgg_echo('admin:user:label:search'); ?></h3>
+ <?php echo elgg_view('input/text',array('internalname' => 'q')); ?>
+ <input type="hidden" name="entity_type" value="user" />
+ <input type="hidden" name="search_type" value="entities" />
+ <input type="submit" name="<?php echo elgg_echo('admin:user:label:searchbutton'); ?>"
+ value="<?php echo elgg_echo('admin:user:label:searchbutton'); ?>" />
+ </form>
+ </div>
+<?php
+}
+?> \ No newline at end of file