diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-03-27 12:00:43 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-03-27 12:00:43 +0000 |
commit | e6728ce892f06633827264e3b47e1f7bcebae780 (patch) | |
tree | b76c56b749847ed33f7cb54ae835095f70fa100e /views/default/tidypics/groupprofile_albums.php | |
parent | 569d4dce1dc656b90b5c5ac193785570c75dcecf (diff) | |
download | elgg-e6728ce892f06633827264e3b47e1f7bcebae780.tar.gz elgg-e6728ce892f06633827264e3b47e1f7bcebae780.tar.bz2 |
can now enable/disable photo albums for groups
Diffstat (limited to 'views/default/tidypics/groupprofile_albums.php')
-rw-r--r-- | views/default/tidypics/groupprofile_albums.php | 4 |
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 |