aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-03-27 12:00:43 +0000
committerCash Costello <cash.costello@gmail.com>2009-03-27 12:00:43 +0000
commite6728ce892f06633827264e3b47e1f7bcebae780 (patch)
treeb76c56b749847ed33f7cb54ae835095f70fa100e /views/default
parent569d4dce1dc656b90b5c5ac193785570c75dcecf (diff)
downloadelgg-e6728ce892f06633827264e3b47e1f7bcebae780.tar.gz
elgg-e6728ce892f06633827264e3b47e1f7bcebae780.tar.bz2
can now enable/disable photo albums for groups
Diffstat (limited to 'views/default')
-rw-r--r--views/default/tidypics/groupprofile_albums.php4
1 files changed, 4 insertions, 0 deletions
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 @@
<?php
+
+if ($vars['entity']->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 "</div>";
+}
?> \ No newline at end of file