From ddda4706db4f6e1f1656f41fcb5e9680b6339151 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 21 Apr 2010 09:59:37 +0000 Subject: remove likes and comments from blog activity view if in classic mode git-svn-id: http://code.elgg.org/elgg/trunk@5827 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/river/object/blog/create.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/blog/views/default/river/object/blog/create.php b/mod/blog/views/default/river/object/blog/create.php index 1071deb30..d74a0bd8f 100644 --- a/mod/blog/views/default/river/object/blog/create.php +++ b/mod/blog/views/default/river/object/blog/create.php @@ -10,8 +10,11 @@ $contents = strip_tags($object->description); //strip tags from the contents to $url = "getURL()}\">{$performed_by->name}"; $title = sprintf(elgg_echo('blog:river:create'), $url); -$string .= $title . " getURL() . "\">" . $object->title . " " . friendly_time($object->publish_time) . " Comment"; -$string .= elgg_view('likes/forms/link', array('entity' => $object)); +$string .= $title . " getURL() . "\">" . $object->title . " " . friendly_time($object->publish_time) . ""; +if (get_plugin_setting('activitytype', 'riverdashboard') != 'classic'){ + $string .= "Comment"; + $string .= elgg_view('likes/forms/link', array('entity' => $object)); +} $string .= "
"; $string .= "
"; if(strlen($contents) > 200) { -- cgit v1.2.3