From fe1cce6c8cbf2ee781619ff21b571518aa1a28e9 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 9 May 2009 22:22:51 +0000 Subject: started adding images to activity river --- views/default/river/object/album/create.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'views') 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 = "getURL()}\">{$performed_by->name}"; $string = sprintf(elgg_echo("album:river:created"),$url) . " "; $string .= "getURL() . "\">" . $album->title . ""; + + if ($album->cover) { + $string .= "
wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $album->cover . '&size=thumb" border="0" class="tidypics_album_cover" alt="thumbnail"/>' . "
"; + } + } 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 +?> -- cgit v1.2.3