From a6e012278e2a33721e91ae36a7fda65804785440 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 13 Aug 2008 12:23:09 +0000 Subject: 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 --- views/default/page_elements/owner_block.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'views') 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 "
"; // Is there a page owner? if ($owner = page_owner_entity()) { @@ -87,5 +88,6 @@ END; echo "
" . $submenu . "
"; // plugins can extend this to add menu options echo "
"; + } ?> \ No newline at end of file -- cgit v1.2.3