From ef868e00b8c0d2226b29690f819613a5a2a8898d Mon Sep 17 00:00:00 2001 From: Dave Tosh Date: Mon, 24 May 2010 16:47:19 +0000 Subject: river views no longer allow comments by logged out users git-svn-id: http://code.elgg.org@6178 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/river/object/videolist/create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 getURL() . "\">" . $title . " " . friendly_time($object->time_created) . ""; -if (get_plugin_setting('activitytype', 'riverdashboard') != 'classic'){ +if (isloggedin()){ $string .= "Comment"; $string .= elgg_view('likes/forms/link', array('entity' => $object)); } -- cgit v1.2.3