From 4416d0a3bf5e0fd101d64ecdfebd100a53c10687 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 16 Dec 2010 02:21:28 +0000 Subject: added title parameter to one_sidebar layout git-svn-id: http://code.elgg.org/elgg/trunk@7642 36083f99-b078-4883-b0ff-0f9b5a30f544 --- pages/members/search.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pages/members') diff --git a/pages/members/search.php b/pages/members/search.php index f21f72fc4..45df46a76 100644 --- a/pages/members/search.php +++ b/pages/members/search.php @@ -8,7 +8,6 @@ if ($vars['search_type'] == 'tag') { $tag = get_input('tag'); $title = elgg_echo('members:title:searchtag', array($tag)); - $content = elgg_view_title($title); $options = array(); $options['query'] = $tag; @@ -18,18 +17,18 @@ if ($vars['search_type'] == 'tag') { $results = elgg_trigger_plugin_hook('search', 'tags', $options, array()); $count = $results['count']; $users = $results['entities']; - $content .= elgg_view_entity_list($users, $count, $offset, $limit, false, false, true); + $content = elgg_view_entity_list($users, $count, $offset, $limit, false, false, true); } else { $name = get_input('name'); $title = elgg_echo('members:title:searchname', array($name)); - $content = elgg_view_title($title); elgg_set_context('search'); - $content .= list_user_search($name); + $content = list_user_search($name); } $params = array( + 'title' => $title, 'content' => $content, 'sidebar' => elgg_view('core/members/sidebar'), ); -- cgit v1.2.3