From 2f94fa464bdc62e4e4a394f231df88ee84b33502 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 28 Mar 2009 14:29:55 +0000 Subject: trying to make menus more consistent --- upload.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'upload.php') diff --git a/upload.php b/upload.php index 48a8ea522..71beb8752 100644 --- a/upload.php +++ b/upload.php @@ -25,6 +25,10 @@ set_page_owner($container); $page_owner = page_owner_entity(); + if ($page_owner instanceof ElggGroup) { + add_submenu_item( sprintf(elgg_echo('album:group'),$page_owner->name), + $CONFIG->wwwroot . "pg/photos/owned/" . $page_owner->username); + } set_context('photos'); $title = elgg_echo('album:addpix') . ': ' . $album->title; -- cgit v1.2.3