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 --- views/default/object/album.php | 3 ++- views/default/tidypics/css.php | 6 ++++++ views/default/tidypics/gallery.php | 9 +++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) (limited to 'views/default') 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