aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/views
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 16:37:53 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 16:37:53 +0000
commit51c843e64febb9a390b9abd83f8d3dd7acf39403 (patch)
tree79cbd4da219db530a7a25a7c2a39e18a5baa785e /mod/bookmarks/views
parent1ac8dfb651704296797b095c05da4128b9a83abe (diff)
downloadelgg-51c843e64febb9a390b9abd83f8d3dd7acf39403.tar.gz
elgg-51c843e64febb9a390b9abd83f8d3dd7acf39403.tar.bz2
you can no longer comment on river item while logged out
git-svn-id: http://code.elgg.org/elgg/trunk@6177 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/views')
-rw-r--r--mod/bookmarks/views/default/river/object/bookmarks/create.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/bookmarks/views/default/river/object/bookmarks/create.php b/mod/bookmarks/views/default/river/object/bookmarks/create.php
index 9243dfe4f..ba1c24572 100644
--- a/mod/bookmarks/views/default/river/object/bookmarks/create.php
+++ b/mod/bookmarks/views/default/river/object/bookmarks/create.php
@@ -9,7 +9,7 @@ $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>";
-if (get_plugin_setting('activitytype', 'riverdashboard') != 'classic'){
+if (isloggedin()){
$string .= "<a class='river_comment_form_button link'>Comment</a>";
$string .= elgg_view('likes/forms/link', array('entity' => $object));
}