aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-13 12:23:09 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-13 12:23:09 +0000
commita6e012278e2a33721e91ae36a7fda65804785440 (patch)
tree76221dfd18a29580d7304af7ba7e30404ecc084a /views/default
parentd97a701e669d6c0938f734d78d7d7590e6cfad51 (diff)
downloadelgg-a6e012278e2a33721e91ae36a7fda65804785440.tar.gz
elgg-a6e012278e2a33721e91ae36a7fda65804785440.tar.bz2
The owner block now doesn't display at all if there's no page owner
git-svn-id: https://code.elgg.org/elgg/trunk@1894 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/page_elements/owner_block.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php
index 4840f9974..e16d03d4e 100644
--- a/views/default/page_elements/owner_block.php
+++ b/views/default/page_elements/owner_block.php
@@ -13,6 +13,7 @@
*
*/
+ if (page_owner()) {
echo "<div id=\"owner_block\">";
// Is there a page owner?
if ($owner = page_owner_entity()) {
@@ -87,5 +88,6 @@ END;
echo "<div id=\"owner_block_submenu\">" . $submenu . "</div>"; // plugins can extend this to add menu options
echo "</div>";
+ }
?> \ No newline at end of file