aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-03-16 13:27:03 -0700
committerBrett Profitt <brett.profitt@gmail.com>2012-03-16 13:27:03 -0700
commite6e33ca1a7afb00a855f57df5a5263674b23c93c (patch)
tree2c6a8c50486da6deecb9a6413b62e734c2cc5c44 /views
parent51f020d059980aaa391d90cb9aedbb89286dd620 (diff)
downloadelgg-e6e33ca1a7afb00a855f57df5a5263674b23c93c.tar.gz
elgg-e6e33ca1a7afb00a855f57df5a5263674b23c93c.tar.bz2
Fixes #21, #22. Using TidypicsAlbum->viewImages() instead of tidypics_list_photos for listing photos.
Diffstat (limited to 'views')
-rw-r--r--views/default/object/album/full.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/views/default/object/album/full.php b/views/default/object/album/full.php
index ceb8b97aa..7b273c66e 100644
--- a/views/default/object/album/full.php
+++ b/views/default/object/album/full.php
@@ -48,14 +48,8 @@ if ($album->description) {
'class' => 'mbm',
));
}
-$body .= tidypics_list_photos(array(
- 'container_guid' => $album->getGUID(),
- 'limit' => 16,
- 'full_view' => false,
- 'list_type' => 'gallery',
- 'list_type_toggle' => false,
- 'gallery_class' => 'tidypics-gallery',
-));
+
+$body .= $album->viewImages();
echo elgg_view('object/elements/full', array(
'entity' => $album,