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/css.php | 4 ++++ views/default/river/item/wrapper.php | 41 ++++++++++++++++++++++++++++++------ 2 files changed, 38 insertions(+), 7 deletions(-) (limited to 'views/default') diff --git a/views/default/css.php b/views/default/css.php index a6f705a69..2554073ec 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -1161,6 +1161,10 @@ p.user_menu_friends_of { font-size:90%; color:#666666; } +.river_item .river_item_useravatar { + float:left; + margin:0 5px 0 0; +} /* IE6 fix */ * html .river_item p { padding:3px 0 3px 20px; 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