From: Cash Costello Date: Sat, 1 May 2010 04:04:44 +0000 (+0000) Subject: better layout of photo album covers X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=521dad5267d98fc7776d75b3f44dc65ab500568d;p=lorea%2Felgg.git better layout of photo album covers --- 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++; } }