aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/views/default/river/object
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-21 10:05:51 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-21 10:05:51 +0000
commit648b6c5f0bcb55aaef9eaef52a39332f5dae9b5f (patch)
tree7870dfada6d71dd2b27cbd0879ec6eeda188d7e3 /mod/bookmarks/views/default/river/object
parentddda4706db4f6e1f1656f41fcb5e9680b6339151 (diff)
downloadelgg-648b6c5f0bcb55aaef9eaef52a39332f5dae9b5f.tar.gz
elgg-648b6c5f0bcb55aaef9eaef52a39332f5dae9b5f.tar.bz2
bookmark activity view altered to work with both the classic and new versions of activity.
git-svn-id: http://code.elgg.org/elgg/trunk@5829 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/views/default/river/object')
-rw-r--r--mod/bookmarks/views/default/river/object/bookmarks/create.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/bookmarks/views/default/river/object/bookmarks/create.php b/mod/bookmarks/views/default/river/object/bookmarks/create.php
index 51ed0ba10..9243dfe4f 100644
--- a/mod/bookmarks/views/default/river/object/bookmarks/create.php
+++ b/mod/bookmarks/views/default/river/object/bookmarks/create.php
@@ -8,6 +8,9 @@ $object = get_entity($vars['item']->object_guid);
$url = $object->getURL();
$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
$string = sprintf(elgg_echo("bookmarks:river:created"),$url) . " ";
-$string .= "<a href=\"" . $object->address . "\">" . $object->title . "</a> <span class='entity_subtext'>" . friendly_time($object->time_updated) . "</span> <a class='river_comment_form_button link'>Comment</a>";
-$string .= elgg_view('likes/forms/link', array('entity' => $object));
+$string .= "<a href=\"" . $object->address . "\">" . $object->title . "</a> <span class='entity_subtext'>" . friendly_time($object->time_updated) . "</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));
+}
echo $string; \ No newline at end of file