diff options
author | cash <cash.costello@gmail.com> | 2012-01-02 21:00:16 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2012-01-02 21:00:16 -0500 |
commit | 83cbd76b2e11b7d832e212ce1ffc77da7a3dd2a6 (patch) | |
tree | e77fc18ea6b9402be0a653aeaf152b9231bad153 /views | |
parent | be94a34e652571eb61c3e306abfb7cce673823d7 (diff) | |
download | elgg-83cbd76b2e11b7d832e212ce1ffc77da7a3dd2a6.tar.gz elgg-83cbd76b2e11b7d832e212ce1ffc77da7a3dd2a6.tar.bz2 |
sorting albums added back
Diffstat (limited to 'views')
-rw-r--r-- | views/default/forms/photos/album/sort.php | 2 | ||||
-rw-r--r-- | views/default/object/album/full.php | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/views/default/forms/photos/album/sort.php b/views/default/forms/photos/album/sort.php index 524112e0c..49bd016aa 100644 --- a/views/default/forms/photos/album/sort.php +++ b/views/default/forms/photos/album/sort.php @@ -21,7 +21,7 @@ echo '<ul id="tidypics-sort" class="elgg-gallery">'; foreach ($image_guids as $image_guid) { $image = get_entity($image_guid); $img = elgg_view('output/img', array( - 'src' => $image->getSrcURL(), + 'src' => $image->getIconURL(), )); echo "<li class=\"mam\" id=\"$image_guid\">$img</li>"; } diff --git a/views/default/object/album/full.php b/views/default/object/album/full.php index e350d2327..ceb8b97aa 100644 --- a/views/default/object/album/full.php +++ b/views/default/object/album/full.php @@ -48,9 +48,7 @@ if ($album->description) { 'class' => 'mbm', )); } -$body .= elgg_list_entities(array( - 'type' => 'object', - 'subtype' => 'image', +$body .= tidypics_list_photos(array( 'container_guid' => $album->getGUID(), 'limit' => 16, 'full_view' => false, |