aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/object/album
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-05-09 22:22:51 +0000
committerCash Costello <cash.costello@gmail.com>2009-05-09 22:22:51 +0000
commitfe1cce6c8cbf2ee781619ff21b571518aa1a28e9 (patch)
treefb56119f6ddd36fd24b7aeae99925158ecde1574 /views/default/river/object/album
parent9df7b2f7875d6c26d02d398d17f5fade118673ca (diff)
downloadelgg-fe1cce6c8cbf2ee781619ff21b571518aa1a28e9.tar.gz
elgg-fe1cce6c8cbf2ee781619ff21b571518aa1a28e9.tar.bz2
started adding images to activity river
Diffstat (limited to 'views/default/river/object/album')
-rw-r--r--views/default/river/object/album/create.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/default/river/object/album/create.php b/views/default/river/object/album/create.php
index fcc87277d..300062b5a 100644
--- a/views/default/river/object/album/create.php
+++ b/views/default/river/object/album/create.php
@@ -7,6 +7,11 @@ if (function_exists('add_to_river')) { // Elgg 1.5
$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
$string = sprintf(elgg_echo("album:river:created"),$url) . " ";
$string .= "<a href=\"" . $album->getURL() . "\">" . $album->title . "</a>";
+
+ if ($album->cover) {
+ $string .= "<div class=\"river_content\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $album->cover . '&size=thumb" border="0" class="tidypics_album_cover" alt="thumbnail"/>' . "</div>";
+ }
+
} else { // Elgg 1.2
$statement = $vars['statement'];
$performed_by = $statement->getSubject();
@@ -19,4 +24,4 @@ if (function_exists('add_to_river')) { // Elgg 1.5
echo $string;
-?> \ No newline at end of file
+?>