diff options
Diffstat (limited to 'newalbum.php')
-rw-r--r-- | newalbum.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newalbum.php b/newalbum.php index 95cdb7860..44e0e07a7 100644 --- a/newalbum.php +++ b/newalbum.php @@ -16,6 +16,11 @@ set_page_owner($_SESSION['guid']);
}
+ if ($page_owner instanceof ElggGroup) {
+ add_submenu_item( sprintf(elgg_echo('album:group'),$page_owner->name),
+ $CONFIG->wwwroot . "pg/photos/owned/" . $page_owner->username);
+ }
+
$area2 = elgg_view_title(elgg_echo('album:add'));
$area2 .= elgg_view("tidypics/forms/edit");
|