diff options
Diffstat (limited to 'views/default/page_elements')
-rw-r--r-- | views/default/page_elements/content_header.php | 2 | ||||
-rw-r--r-- | views/default/page_elements/content_header_member.php | 4 | ||||
-rw-r--r-- | views/default/page_elements/owner_block.php | 2 | ||||
-rw-r--r-- | views/default/page_elements/title.php | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/views/default/page_elements/content_header.php b/views/default/page_elements/content_header.php index 4c3197b58..91e73f4af 100644 --- a/views/default/page_elements/content_header.php +++ b/views/default/page_elements/content_header.php @@ -17,7 +17,7 @@ * @subpackage Core */ -$page_owner = page_owner_entity(); +$page_owner = elgg_get_page_owner(); $logged_in_user = get_loggedin_user(); $username = $logged_in_user->username; diff --git a/views/default/page_elements/content_header_member.php b/views/default/page_elements/content_header_member.php index 14b35d87f..82909e1b5 100644 --- a/views/default/page_elements/content_header_member.php +++ b/views/default/page_elements/content_header_member.php @@ -8,8 +8,8 @@ *
*/
-$page_owner = page_owner_entity();
-$name = page_owner_entity()->name;
+$page_owner = elgg_get_page_owner();
+$name = elgg_get_page_owner()->name;
// get the object type
$type = $vars['type'];
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php index 649591058..45e4f70af 100644 --- a/views/default/page_elements/owner_block.php +++ b/views/default/page_elements/owner_block.php @@ -28,7 +28,7 @@ END; if(is_plugin_enabled('profile')) { // Is there a page owner? - $owner = page_owner_entity(); + $owner = elgg_get_page_owner(); if ($owner instanceof ElggGroup || ($owner instanceof ElggUser && $owner->getGUID() != get_loggedin_userid()) ) { diff --git a/views/default/page_elements/title.php b/views/default/page_elements/title.php index a340e7a09..5eb628976 100644 --- a/views/default/page_elements/title.php +++ b/views/default/page_elements/title.php @@ -4,7 +4,7 @@ * @uses $vars['title'] The page title */ -$page_owner = page_owner(); +$page_owner = elgg_get_page_owner_guid(); $page_owner_entity = get_entity($page_owner); $display = "<h2>" . $vars['title'] . "</h2>"; |