\r
------------------------------------------------------------------------\r
Version 1.6.8 Change List\r
-Release Date: \r
+Release Date: 05/01/2010\r
------------------------------------------------------------------------\r
BEGIN VERSION 1.6.8 CHANGES\r
------------------------------------------------------------------------\r
* New language strings: tidypics:nophotosingroup\r
+ * Fixed bug in titles of albums RSS\r
+ * Added a new css element: tidypics_line_break\r
+ * Fixed layout of album covers due to long titles or other text\r
------------------------------------------------------------------------\r
END VERSION 1.6.8 CHANGES\r
------------------------------------------------------------------------\r
<a href="<?php echo $album->getURL();?>"><?php echo $title;?></a>
</div>
<a href="<?php echo $album->getURL();?>"><?php echo $album_cover;?></a><br>
- <small><a href="<?php echo $vars['url'];?>pg/profile/<?php echo $owner->username;?>"><?php echo $owner->name;?></a> <?php echo $friendlytime;?><br>
+ <small><a href="<?php echo $vars['url'];?>pg/profile/<?php echo $owner->username;?>"><?php echo $owner->name;?></a>
+ <br /><?php echo $friendlytime;?><br />
<?php
//get the number of comments
$numcomments = elgg_count_comments($album);
margin-bottom:20px;
padding: 4px;
text-align:center;
+width: 160px;
+}
+
+.tidypics_line_break {
+width: 100%;
+clear: both;
}
.tidypics_gallery_title {
*
*/
+// four albums across
+$num_wide = 4;
+
$context = $vars['context'];
$offset = $vars['offset'];
$entities = $vars['entities'];
}
$html .= $nav;
+
if (is_array($entities) && sizeof($entities) > 0) {
+ $counter = 0;
foreach($entities as $entity) {
+ if ($counter % $num_wide == 0) {
+ $html .= "<div class=\"tidypics_line_break\"></div>";
+ }
$html .= elgg_view_entity($entity, $fullview);
+ $counter++;
}
}