aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/elements/owner_block.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-18 17:43:36 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-18 17:43:36 +0000
commit412d337ee7f1463dc4ea4cf1d23415b10749f996 (patch)
tree385fe8b798eec769f0714ed03d5ba41511354dd4 /views/default/layout/elements/owner_block.php
parent17cc9374679465a035f4721eff0c3ae87225e9eb (diff)
downloadelgg-412d337ee7f1463dc4ea4cf1d23415b10749f996.tar.gz
elgg-412d337ee7f1463dc4ea4cf1d23415b10749f996.tar.bz2
Refs #2950: layout/elements => page/elements
git-svn-id: http://code.elgg.org/elgg/trunk@8285 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/elements/owner_block.php')
-rw-r--r--views/default/layout/elements/owner_block.php35
1 files changed, 0 insertions, 35 deletions
diff --git a/views/default/layout/elements/owner_block.php b/views/default/layout/elements/owner_block.php
deleted file mode 100644
index 66bd30472..000000000
--- a/views/default/layout/elements/owner_block.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * Elgg owner block
- * Displays page ownership information
- *
- * @package Elgg
- * @subpackage Core
- *
- */
-
-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, false);
-
- $body = elgg_view_menu('owner_block', array(
- 'entity' => $owner,
- 'class' => 'elgg-owner-block-menu',
- ));
-
- $body .= elgg_view('layout/elements/owner_block/extend', $vars);
-
- //@todo elgg-module-owner-block?
- echo elgg_view('layout/objects/module', array(
- 'header' => $header,
- 'body' => $body,
- 'class' => 'elgg-owner-block',
- ));
-}
-
-elgg_pop_context(); \ No newline at end of file