From 49e478da9d5540da798a7d497615f0d2903c8e4a Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 9 Nov 2010 01:09:50 +0000 Subject: Fixes #2631 removes 'elgg_' namespace from the page element views - anyone working with the trunk will need to update their theme and/or flush their cache git-svn-id: http://code.elgg.org/elgg/trunk@7268 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/diagnostics/index.php | 4 ++-- mod/members/index.php | 2 +- mod/search/index.php | 2 +- mod/sitepages/sitepages_functions.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'mod') diff --git a/mod/diagnostics/index.php b/mod/diagnostics/index.php index 9bc58b56a..657915e66 100644 --- a/mod/diagnostics/index.php +++ b/mod/diagnostics/index.php @@ -13,7 +13,7 @@ elgg_set_context('admin'); // system diagnostics $body = elgg_view_title(elgg_echo('diagnostics')); $body .= "
"; -$body .= elgg_view('page_elements/elgg_content', array('body' => +$body .= elgg_view('page_elements/content', array('body' => "

".elgg_echo('diagnostics:report')."

".elgg_echo('diagnostics:description') . elgg_view('diagnostics/forms/download')) ); @@ -32,7 +32,7 @@ if (isset($CONFIG->debug)) { $test_body .= elgg_echo('diagnostics:unittester:debug'); } -$body .= elgg_view('page_elements/elgg_content', array( +$body .= elgg_view('page_elements/content', array( 'body' => $test_body) ); $body .= "
"; diff --git a/mod/members/index.php b/mod/members/index.php index 4df2c10fe..221df7685 100644 --- a/mod/members/index.php +++ b/mod/members/index.php @@ -71,7 +71,7 @@ switch($filter){ break; } -$area2 .= elgg_view('page_elements/elgg_content', array('body' => elgg_view("members/members_navigation", array("count" => $members, "filter" => $filter)) . "
".$filter_content."
", 'subclass' => 'members')); +$area2 .= elgg_view('page_elements/content', array('body' => elgg_view("members/members_navigation", array("count" => $members, "filter" => $filter)) . "
".$filter_content."
", 'subclass' => 'members')); //select the correct canvas area $body = elgg_view_layout("one_column_with_sidebar", $area2, $area1); diff --git a/mod/search/index.php b/mod/search/index.php index b042d596f..54054244a 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/elgg_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', $body); echo elgg_view_page($title, $layout); diff --git a/mod/sitepages/sitepages_functions.php b/mod/sitepages/sitepages_functions.php index 0be36ed1a..38c793074 100644 --- a/mod/sitepages/sitepages_functions.php +++ b/mod/sitepages/sitepages_functions.php @@ -92,9 +92,9 @@ function sitepages_get_page_content($page_type) { $sitepage = sitepages_get_sitepage_object($page_type); if ($sitepage) { - $body .= elgg_view('page_elements/elgg_content', array('body' => $sitepage->description)); + $body .= elgg_view('page_elements/content', array('body' => $sitepage->description)); } else { - $body .= elgg_view('page_elements/elgg_content', array('body' => elgg_echo('sitepages:notset'))); + $body .= elgg_view('page_elements/content', array('body' => elgg_echo('sitepages:notset'))); } $content = elgg_view_layout('one_column_with_sidebar', $body); -- cgit v1.2.3