diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-08 01:19:38 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-08 01:19:38 +0000 |
commit | d7adaddab7189bc493d22d96fec424aedca09b11 (patch) | |
tree | ebfd5c994083bed934bbd23fa403cadf778849fa /mod/search | |
parent | e8380d051e50abec45b8ad3ed84ae57644b017d5 (diff) | |
download | elgg-d7adaddab7189bc493d22d96fec424aedca09b11.tar.gz elgg-d7adaddab7189bc493d22d96fec424aedca09b11.tar.bz2 |
reorganized the page views as discussed
git-svn-id: http://code.elgg.org/elgg/trunk@7559 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/search')
-rw-r--r-- | mod/search/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/search/index.php b/mod/search/index.php index 7f7be9860..4e73b78ae 100644 --- a/mod/search/index.php +++ b/mod/search/index.php @@ -137,7 +137,7 @@ 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/content', array('body' => elgg_echo('search:no_query'))); + $body .= elgg_view('page/elements/content', array('body' => elgg_echo('search:no_query'))); $layout = elgg_view_layout('one_column_with_sidebar', array('content' => $body)); echo elgg_view_page($title, $layout); @@ -247,7 +247,7 @@ $highlighted_query = search_highlight_words($searched_words, $query); $body = elgg_view_title(elgg_echo('search:results', array("\"$highlighted_query\""))); if (!$results_html) { - $body .= elgg_view('page_elements/contentwrapper', array('body' => elgg_echo('search:no_results'))); + $body .= elgg_view('page/elements/contentwrapper', array('body' => elgg_echo('search:no_results'))); } else { $body .= $results_html; } |