From ee733ee32b08e062ab868a3b26c3cbe73852a28e Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Thu, 4 Jun 2009 11:38:54 +0000 Subject: 1. only supporting Elgg 1.5 and greater now - river code 2. fixed a bug with river code and adding single images to activity --- views/default/river/object/album/create.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'views/default/river/object/album/create.php') diff --git a/views/default/river/object/album/create.php b/views/default/river/object/album/create.php index 300062b5a..40f847c78 100644 --- a/views/default/river/object/album/create.php +++ b/views/default/river/object/album/create.php @@ -1,6 +1,5 @@ subject_guid); $album = get_entity($vars['item']->object_guid); @@ -11,17 +10,7 @@ if (function_exists('add_to_river')) { // Elgg 1.5 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(); - $object = $statement->getObject(); - - $url = "getURL()}\">{$performed_by->name}"; - $string = sprintf(elgg_echo("album:river:created"),$url) . " "; - $string .= "getURL() . "\">" . $object->title . ""; -} echo $string; - + ?> -- cgit v1.2.3