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 --- edit.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'edit.php') diff --git a/edit.php b/edit.php index b84d74724..0f099a9ad 100644 --- a/edit.php +++ b/edit.php @@ -35,6 +35,13 @@ forward(); } + $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); + } + + $area2 .= elgg_view_title($title); $area2 .= elgg_view('tidypics/forms/edit', array('entity' => $entity, 'subtype' => $subtype)); $body = elgg_view_layout('two_column_left_sidebar', $area1, $area2); -- cgit v1.2.3