diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-03-28 03:07:41 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-03-28 03:07:41 +0000 |
commit | c7b327cf230a19358e6bc78b9782627839f2d9f7 (patch) | |
tree | 74fa2df2da89d71a638d2ee81bde338f9e40d4c9 /viewalbum.php | |
parent | 09619e09ed4544a0529231bfc8dd81ec719f2810 (diff) | |
download | elgg-c7b327cf230a19358e6bc78b9782627839f2d9f7.tar.gz elgg-c7b327cf230a19358e6bc78b9782627839f2d9f7.tar.bz2 |
better menus for view album for both group and individuals
Diffstat (limited to 'viewalbum.php')
-rw-r--r-- | viewalbum.php | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/viewalbum.php b/viewalbum.php index d80a3d8e6..c216273cd 100644 --- a/viewalbum.php +++ b/viewalbum.php @@ -25,19 +25,20 @@ if ($owner instanceof ElggGroup) {
add_submenu_item( elgg_echo('album:create'),
$CONFIG->wwwroot . 'pg/photos/new/' . $owner->username,
- 'tidypics');
- add_submenu_item( elgg_echo('album:addpix'),
- $CONFIG->wwwroot . 'pg/photos/upload/' . $album_guid,
- 'tidypics');
- add_submenu_item( elgg_echo('album:edit'),
- $CONFIG->wwwroot . 'pg/photos/edit/' . $album_guid,
- 'tidypics');
- add_submenu_item( elgg_echo('album:delete'),
- $CONFIG->wwwroot . 'pg/photos/delete/' . $album_guid,
- 'tidypics',
- true);
+ 'photos');
}
+ add_submenu_item( elgg_echo('album:addpix'),
+ $CONFIG->wwwroot . 'pg/photos/upload/' . $album_guid,
+ 'photos');
+ add_submenu_item( elgg_echo('album:edit'),
+ $CONFIG->wwwroot . 'pg/photos/edit/' . $album_guid,
+ 'photos');
+ add_submenu_item( elgg_echo('album:delete'),
+ $CONFIG->wwwroot . 'pg/photos/delete/' . $album_guid,
+ 'photos',
+ true);
+
// set title and body
$title = $album->title;
$area2 = elgg_view_title($title);
|