From e6728ce892f06633827264e3b47e1f7bcebae780 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Fri, 27 Mar 2009 12:00:43 +0000 Subject: can now enable/disable photo albums for groups --- views/default/tidypics/groupprofile_albums.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'views/default/tidypics') diff --git a/views/default/tidypics/groupprofile_albums.php b/views/default/tidypics/groupprofile_albums.php index ea11006fa..ff63a38d1 100644 --- a/views/default/tidypics/groupprofile_albums.php +++ b/views/default/tidypics/groupprofile_albums.php @@ -1,4 +1,7 @@ photos_enable != 'no') { + //the number of files to display $number = (int) $vars['entity']->num_display; //if no number has been set, default to 5 @@ -57,4 +60,5 @@ } //close group_albums_widget div echo ""; +} ?> \ No newline at end of file -- cgit v1.2.3