From f037a597462f6c97fc6aba5dabcbf3eb753763e6 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Fri, 30 Apr 2010 14:33:47 +0000 Subject: added a better group profile widget no photos message --- contributions.txt | 12 ++++++++++++ languages/en.php | 2 ++ views/default/tidypics/groupprofile_albums.php | 5 ++++- 3 files changed, 18 insertions(+), 1 deletion(-) 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 '
'; - echo '

' . elgg_echo('album:group') . '

'; +?> +

guid; ?>">Group albums

+' . elgg_echo('album:group') . ''; echo elgg_view('tidypics/albums', array('num_albums' => 5)); echo '
'; } -- cgit v1.2.3