]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
added a better group profile widget no photos message
authorCash Costello <cash.costello@gmail.com>
Fri, 30 Apr 2010 14:33:47 +0000 (14:33 +0000)
committerCash Costello <cash.costello@gmail.com>
Fri, 30 Apr 2010 14:33:47 +0000 (14:33 +0000)
contributions.txt
languages/en.php
views/default/tidypics/groupprofile_albums.php

index 611f24deaa2237967b2c443ad4d9ce9a776c889c..2df8cb6c1f631c70bed85737dd4d8ffb740e32fb 100644 (file)
@@ -1,5 +1,17 @@
 See individual change logs for contributors to those builds\r
 \r
+\r
+------------------------------------------------------------------------\r
+Version 1.6.8 Change List\r
+Release Date: \r
+------------------------------------------------------------------------\r
+BEGIN VERSION 1.6.8 CHANGES\r
+------------------------------------------------------------------------\r
+ * New language strings: tidypics:nophotosingroup\r
+------------------------------------------------------------------------\r
+END VERSION 1.6.8 CHANGES\r
+------------------------------------------------------------------------\r
+\r
 ------------------------------------------------------------------------\r
 Version 1.6.7 Change List\r
 Release Date: 04/24/2010\r
index 16f10d0ec65d5e76ff9f096a6b819b0a9f7074bf..7211ed9be889632ff1b1c730e0c99358693f3cd3 100644 (file)
@@ -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',
index a7e143ae927b068bb318af55ad07498f93cced6c..7cb89bf1c0fa73b74ccbcca23f98dacfb8496410 100644 (file)
@@ -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>';
 }