diff options
Diffstat (limited to 'upload.php')
-rw-r--r-- | upload.php | 4 |
1 files changed, 4 insertions, 0 deletions
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;
|