diff options
Diffstat (limited to 'views/default/page/elements/owner_block.php')
-rw-r--r-- | views/default/page/elements/owner_block.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/views/default/page/elements/owner_block.php b/views/default/page/elements/owner_block.php deleted file mode 100644 index 3a234c162..000000000 --- a/views/default/page/elements/owner_block.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -/** - * Elgg owner block - * Displays page ownership information - * - * @package Elgg - * @subpackage Core - * @override views/default/page/elements/owner_block.php - * - */ - -elgg_push_context('owner_block'); - -// groups and other users get owner block -$owner = elgg_get_page_owner_entity(); -if ($owner instanceof ElggGroup || - ($owner instanceof ElggUser && $owner->getGUID() != elgg_get_logged_in_user_guid())) { - - $header = elgg_view_entity($owner, array('full_view' => false)); - - $body = elgg_view_menu('owner_block', array('entity' => $owner)); - - $body .= elgg_view('page/elements/owner_block/extend', $vars); - - echo elgg_view('page/components/module', array( - 'header' => $header, - 'body' => $body, - 'class' => 'elgg-owner-block', - )); -} - -elgg_pop_context();
\ No newline at end of file |