From b405f7f30fb3cee2d00b20972a7da910a7947e04 Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 4 Sep 2009 09:35:52 +0000 Subject: activity display toggle so site admins can choose avatars or the small icons git-svn-id: https://code.elgg.org/elgg/trunk@3461 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/river/item/wrapper.php | 41 ++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 7 deletions(-) (limited to 'views/default/river/item/wrapper.php') diff --git a/views/default/river/item/wrapper.php b/views/default/river/item/wrapper.php index 2b146c3c5..c8d18e9dd 100644 --- a/views/default/river/item/wrapper.php +++ b/views/default/river/item/wrapper.php @@ -11,6 +11,12 @@ * @link http://elgg.com/ */ + //get the site admins choice avatars or action icons + $avatar_icon = get_plugin_setting("avatar_icon","riverdashboard"); + if(!$avatar_icon) + $avatar_icon = "icon"; + + if($avatar_icon == "icon"){ ?> @@ -21,15 +27,11 @@
action_type; ?>">

(posted); - + echo friendly_time($vars['item']->posted); ?>)

@@ -37,4 +39,29 @@
- \ No newline at end of file + + + +
+ + get_entity($vars['item']->subject_guid), 'size' => 'tiny')); + ?> + +

+ + + (posted); + ?>) + +

+
+
+ \ No newline at end of file -- cgit v1.2.3