aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 01:09:50 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 01:09:50 +0000
commit49e478da9d5540da798a7d497615f0d2903c8e4a (patch)
tree04a91f3028df014fb2a33b57f614acf88a07805b /mod
parent8c4fe01968aecea2ccfe6146ff580a272750e4d7 (diff)
downloadelgg-49e478da9d5540da798a7d497615f0d2903c8e4a.tar.gz
elgg-49e478da9d5540da798a7d497615f0d2903c8e4a.tar.bz2
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
Diffstat (limited to 'mod')
-rw-r--r--mod/diagnostics/index.php4
-rw-r--r--mod/members/index.php2
-rw-r--r--mod/search/index.php2
-rw-r--r--mod/sitepages/sitepages_functions.php4
4 files changed, 6 insertions, 6 deletions
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 .= "<div class='admin_settings diagnostics'>";
-$body .= elgg_view('page_elements/elgg_content', array('body' =>
+$body .= elgg_view('page_elements/content', array('body' =>
"<h3>".elgg_echo('diagnostics:report')."</h3>".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 .= "</div>";
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)) . "<div class='members_list'>".$filter_content."</div>", 'subclass' => 'members'));
+$area2 .= elgg_view('page_elements/content', array('body' => elgg_view("members/members_navigation", array("count" => $members, "filter" => $filter)) . "<div class='members_list'>".$filter_content."</div>", '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);