aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-04-30 14:33:47 +0000
committerCash Costello <cash.costello@gmail.com>2010-04-30 14:33:47 +0000
commitf037a597462f6c97fc6aba5dabcbf3eb753763e6 (patch)
tree53c69d5495b0b0eab18da26d26e7bffb0bf2b21b /views/default/tidypics
parent56b871bbe4981d51ca4f62e4059ce0dc45de5fa5 (diff)
downloadelgg-f037a597462f6c97fc6aba5dabcbf3eb753763e6.tar.gz
elgg-f037a597462f6c97fc6aba5dabcbf3eb753763e6.tar.bz2
added a better group profile widget no photos message
Diffstat (limited to 'views/default/tidypics')
-rw-r--r--views/default/tidypics/groupprofile_albums.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/default/tidypics/groupprofile_albums.php b/views/default/tidypics/groupprofile_albums.php
index a7e143ae9..7cb89bf1c 100644
--- a/views/default/tidypics/groupprofile_albums.php
+++ b/views/default/tidypics/groupprofile_albums.php
@@ -8,7 +8,10 @@
if ($vars['entity']->photos_enable != 'no') {
echo '<div id="tidypics_group_profile">';
- echo '<h2>' . elgg_echo('album:group') . '</h2>';
+?>
+ <h2><a href="<?php echo $CONFIG->wwwroot . "pg/photos/owned/group:" . $vars['entity']->guid; ?>">Group albums</a></h2>
+<?php
+ //echo '<h2>' . elgg_echo('album:group') . '</h2>';
echo elgg_view('tidypics/albums', array('num_albums' => 5));
echo '</div>';
}