From 521dad5267d98fc7776d75b3f44dc65ab500568d Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 1 May 2010 04:04:44 +0000 Subject: better layout of photo album covers --- contributions.txt | 5 ++++- views/default/object/album.php | 3 ++- views/default/tidypics/css.php | 6 ++++++ views/default/tidypics/gallery.php | 9 +++++++++ 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/contributions.txt b/contributions.txt index 2df8cb6c1..fac5edc6f 100644 --- a/contributions.txt +++ b/contributions.txt @@ -3,11 +3,14 @@ See individual change logs for contributors to those builds ------------------------------------------------------------------------ Version 1.6.8 Change List -Release Date: +Release Date: 05/01/2010 ------------------------------------------------------------------------ BEGIN VERSION 1.6.8 CHANGES ------------------------------------------------------------------------ * New language strings: tidypics:nophotosingroup + * Fixed bug in titles of albums RSS + * Added a new css element: tidypics_line_break + * Fixed layout of album covers due to long titles or other text ------------------------------------------------------------------------ END VERSION 1.6.8 CHANGES ------------------------------------------------------------------------ diff --git a/views/default/object/album.php b/views/default/object/album.php index 60015d2b1..85dd69ac9 100644 --- a/views/default/object/album.php +++ b/views/default/object/album.php @@ -39,7 +39,8 @@
- name;?>
+ name;?> +

0) { + $counter = 0; foreach($entities as $entity) { + if ($counter % $num_wide == 0) { + $html .= "
"; + } $html .= elgg_view_entity($entity, $fullview); + $counter++; } } -- cgit v1.2.3