diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-12-13 02:03:17 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-12-13 02:03:17 +0000 |
commit | dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3 (patch) | |
tree | 71f92cbf22405ddbec079480e207c7fd3fe00e0a /views/default/tidypics/gallery.php | |
parent | e7a7c88d81f494d8a0c99f36338247caaf6b4bd3 (diff) | |
download | elgg-dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3.tar.gz elgg-dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3.tar.bz2 |
fixed display of some album pages - caused a cascade of changes required
Diffstat (limited to 'views/default/tidypics/gallery.php')
-rw-r--r-- | views/default/tidypics/gallery.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/views/default/tidypics/gallery.php b/views/default/tidypics/gallery.php index dd7c1cdcf..b9a50bdab 100644 --- a/views/default/tidypics/gallery.php +++ b/views/default/tidypics/gallery.php @@ -43,15 +43,9 @@ if ($pagination) { } $html .= $nav; -if ($viewtype == 'list') { - if (is_array($entities) && sizeof($entities) > 0) { - foreach($entities as $entity) { - $html .= elgg_view_entity($entity, $fullview); - } - } -} else { - if (is_array($entities) && sizeof($entities) > 0) { - $html .= elgg_view('entities/gallery', array('entities' => $entities)); +if (is_array($entities) && sizeof($entities) > 0) { + foreach($entities as $entity) { + $html .= elgg_view_entity($entity, $fullview); } } |