diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-03-28 14:29:55 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-03-28 14:29:55 +0000 |
commit | 2f94fa464bdc62e4e4a394f231df88ee84b33502 (patch) | |
tree | a005ad80080e830c0e31df24b9254ec5649bdeae /edit.php | |
parent | 871395b74470a70e37aeb684b820e289b0930cba (diff) | |
download | elgg-2f94fa464bdc62e4e4a394f231df88ee84b33502.tar.gz elgg-2f94fa464bdc62e4e4a394f231df88ee84b33502.tar.bz2 |
trying to make menus more consistent
Diffstat (limited to 'edit.php')
-rw-r--r-- | edit.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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);
|