diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-23 18:46:41 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-11-23 18:46:41 -0500 |
commit | 47bd8586910b1df3f29e2425572372e382b26f6a (patch) | |
tree | 044b79b6d9ac1317837fe08f4359f2c291497c9d /views/default/object/album.php | |
parent | 0aa823656bf92ae472cb6780afb24f5a0390b880 (diff) | |
download | elgg-47bd8586910b1df3f29e2425572372e382b26f6a.tar.gz elgg-47bd8586910b1df3f29e2425572372e382b26f6a.tar.bz2 |
added support for group albums
Diffstat (limited to 'views/default/object/album.php')
-rw-r--r-- | views/default/object/album.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/views/default/object/album.php b/views/default/object/album.php index 51b25b7da..bfcfd96d2 100644 --- a/views/default/object/album.php +++ b/views/default/object/album.php @@ -14,5 +14,9 @@ $full_view = elgg_extract('full_view', $vars, false); if ($full_view) { echo elgg_view('object/album/full', $vars); } else { - echo elgg_view('object/album/summary', $vars); + if (elgg_in_context('widgets')) { + echo elgg_view('object/album/list', $vars); + } else { + echo elgg_view('object/album/gallery', $vars); + } } |