aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 16:47:19 +0000
committerDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 16:47:19 +0000
commitef868e00b8c0d2226b29690f819613a5a2a8898d (patch)
treef6c5a041e39572dc28f671a40551167dc3a3acd8
parente5eb8df910877735a4dbb5a69c849a98e30709cc (diff)
downloadelgg-ef868e00b8c0d2226b29690f819613a5a2a8898d.tar.gz
elgg-ef868e00b8c0d2226b29690f819613a5a2a8898d.tar.bz2
river views no longer allow comments by logged out users
git-svn-id: http://code.elgg.org@6178 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/river/object/videolist/create.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/river/object/videolist/create.php b/views/default/river/object/videolist/create.php
index 42a22c3b5..9ede85096 100644
--- a/views/default/river/object/videolist/create.php
+++ b/views/default/river/object/videolist/create.php
@@ -14,7 +14,7 @@ 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>";
-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));
}