aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/object
diff options
context:
space:
mode:
authorDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-21 10:08:36 +0000
committerDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-21 10:08:36 +0000
commitf4c0a11fa72f89374fe1bae0004621459d506cbb (patch)
tree34f247c3882500882d916a33fd582976b170a6f3 /views/default/river/object
parentf3d3fdd93e545a53f878a672bf52e880a4a1a943 (diff)
downloadelgg-f4c0a11fa72f89374fe1bae0004621459d506cbb.tar.gz
elgg-f4c0a11fa72f89374fe1bae0004621459d506cbb.tar.bz2
remaining activity views tweaked to work with classic and new
Diffstat (limited to 'views/default/river/object')
-rw-r--r--views/default/river/object/videolist/create.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/views/default/river/object/videolist/create.php b/views/default/river/object/videolist/create.php
index a493c8dff..42a22c3b5 100644
--- a/views/default/river/object/videolist/create.php
+++ b/views/default/river/object/videolist/create.php
@@ -13,8 +13,11 @@ if(!$title) {
}
$string = sprintf(elgg_echo("videolist:river:created"),$url) . " ";
-$string .= elgg_echo("videolist:river:item") . " titled <a href=\"" . $object->getURL() . "\">" . $title . "</a> <span class='entity_subtext'>" . friendly_time($object->time_created) . "</span> <a class='river_comment_form_button link'>Comment</a>";
-$string .= elgg_view('likes/forms/link', array('entity' => $object));
+$string .= elgg_echo("videolist:river:item") . " titled <a href=\"" . $object->getURL() . "\">" . $title . "</a> <span class='entity_subtext'>" . friendly_time($object->time_created) . "</span>";
+if (get_plugin_setting('activitytype', 'riverdashboard') != 'classic'){
+ $string .= "<a class='river_comment_form_button link'>Comment</a>";
+ $string .= elgg_view('likes/forms/link', array('entity' => $object));
+}
$string .= "<div class=\"river_content_display\">";
$string .= "<a href=\"" . $object->getURL() . "\"><img src='".$thumbnail."' width='120' class='tubesearch'/></a>";
$string .= "</div>";