diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-09 01:09:50 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-09 01:09:50 +0000 |
commit | 49e478da9d5540da798a7d497615f0d2903c8e4a (patch) | |
tree | 04a91f3028df014fb2a33b57f614acf88a07805b /mod/sitepages/sitepages_functions.php | |
parent | 8c4fe01968aecea2ccfe6146ff580a272750e4d7 (diff) | |
download | elgg-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/sitepages/sitepages_functions.php')
-rw-r--r-- | mod/sitepages/sitepages_functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); |