aboutsummaryrefslogtreecommitdiff
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
parent56b871bbe4981d51ca4f62e4059ce0dc45de5fa5 (diff)
downloadelgg-f037a597462f6c97fc6aba5dabcbf3eb753763e6.tar.gz
elgg-f037a597462f6c97fc6aba5dabcbf3eb753763e6.tar.bz2
added a better group profile widget no photos message
-rw-r--r--contributions.txt12
-rw-r--r--languages/en.php2
-rw-r--r--views/default/tidypics/groupprofile_albums.php5
3 files changed, 18 insertions, 1 deletions
diff --git a/contributions.txt b/contributions.txt
index 611f24dea..2df8cb6c1 100644
--- a/contributions.txt
+++ b/contributions.txt
@@ -1,5 +1,17 @@
See individual change logs for contributors to those builds
+
+------------------------------------------------------------------------
+Version 1.6.8 Change List
+Release Date:
+------------------------------------------------------------------------
+BEGIN VERSION 1.6.8 CHANGES
+------------------------------------------------------------------------
+ * New language strings: tidypics:nophotosingroup
+------------------------------------------------------------------------
+END VERSION 1.6.8 CHANGES
+------------------------------------------------------------------------
+
------------------------------------------------------------------------
Version 1.6.7 Change List
Release Date: 04/24/2010
diff --git a/languages/en.php b/languages/en.php
index 16f10d0ec..7211ed9be 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -49,6 +49,8 @@
'tidypics:viewsbyothers' => "(%s by you)",
'tidypics:administration' => 'Tidypics Administration',
'tidypics:stats' => 'Stats',
+ 'tidypics:nophotosingroup' => 'This groups does not have any photos yet',
+
'flickr:setup' => 'Flickr Setup',
'flickr:usernamesetup' => 'Please enter your Flickr username here:',
'flickr:selectalbum' => 'Select album to import photos into',
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>';
}