diff options
-rw-r--r-- | mod/search/index.php | 4 | ||||
-rw-r--r-- | mod/search/views/default/search/layout.php | 2 | ||||
-rw-r--r-- | mod/search/views/default/search/startblurb.php | 8 |
3 files changed, 5 insertions, 9 deletions
diff --git a/mod/search/index.php b/mod/search/index.php index 88c91486b..ff251dddc 100644 --- a/mod/search/index.php +++ b/mod/search/index.php @@ -132,9 +132,9 @@ foreach ($custom_types as $type) { // check that we have an actual query if (!$query) { $body = elgg_view_title(elgg_echo('search:search_error')); - $body .= elgg_view('page_elements/contentwrapper', array('body' => elgg_echo('search:no_query'))); + $body .= elgg_view('page_elements/elgg_content', array('body' => elgg_echo('search:no_query'))); - $layout = elgg_view_layout('two_column_left_sidebar', '', $body); + $layout = elgg_view_layout('one_column_with_sidebar', '', $body); page_draw($title, $layout); return; diff --git a/mod/search/views/default/search/layout.php b/mod/search/views/default/search/layout.php index f79cfee12..5a66ac47c 100644 --- a/mod/search/views/default/search/layout.php +++ b/mod/search/views/default/search/layout.php @@ -8,4 +8,4 @@ * @link http://elgg.org/ */ -echo elgg_view_layout('two_column_left_sidebar', '', $vars['body']);
\ No newline at end of file +echo elgg_view_layout('one_column_with_sidebar', '', $vars['body']);
\ No newline at end of file diff --git a/mod/search/views/default/search/startblurb.php b/mod/search/views/default/search/startblurb.php index 82d2d62d1..625f5c131 100644 --- a/mod/search/views/default/search/startblurb.php +++ b/mod/search/views/default/search/startblurb.php @@ -5,9 +5,5 @@ * @author Curverider Ltd * @link http://elgg.org/ */ -?> -<div class="contentWrapper"> -<?php - echo sprintf(elgg_echo("tag:search:startblurb"), $vars['query']); -?> -</div>
\ No newline at end of file + +echo sprintf(elgg_echo("tag:search:startblurb"), $vars['query']); |