diff options
Diffstat (limited to 'views/default/admin/user_opt/search.php')
-rw-r--r-- | views/default/admin/user_opt/search.php | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/views/default/admin/user_opt/search.php b/views/default/admin/user_opt/search.php index 2e337755b..f853dcf3c 100644 --- a/views/default/admin/user_opt/search.php +++ b/views/default/admin/user_opt/search.php @@ -7,18 +7,19 @@ * @author Curverider Ltd * @link http://elgg.org/ */ + +if( (is_plugin_enabled('search')) && (is_plugin_enabled('profile')) ) { ?> -<div id="search-box"> - <form action="<?php echo $vars['url']; ?>pg/search/" method="get"> - <b><?php echo elgg_echo('admin:user:label:search'); ?></b> - <?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> + <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 |