From 34ccb4a0daff9585d7950948f3f0415e2cfd56e6 Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 26 Apr 2010 18:05:37 +0000 Subject: Updates to riverdashboard wrapper for IE rendering. Temporary IE rules for riverdashboard added to css_ie.php. git-svn-id: http://code.elgg.org/elgg/trunk@5881 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/river/item/wrapper.php | 26 ++++++++++++++-------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'mod/riverdashboard/views/default/river/item') diff --git a/mod/riverdashboard/views/default/river/item/wrapper.php b/mod/riverdashboard/views/default/river/item/wrapper.php index f7a2e282f..7a3285382 100644 --- a/mod/riverdashboard/views/default/river/item/wrapper.php +++ b/mod/riverdashboard/views/default/river/item/wrapper.php @@ -104,15 +104,21 @@ else echo ""; // close river_comments } else { // tab bar nav - for users that liked object - echo "
"; - $numoflikes = elgg_count_likes($object); - if($numoflikes != 0){ - echo elgg_view('likes/forms/display', array('entity' => $object)); - } - echo "
"; // close river_comments_tabs - - echo "
"; + $numoflikes = elgg_count_likes($object); + if ($vars['item']->type != 'user' && $numoflikes != 0) { + echo "
"; + } + if($numoflikes != 0){ + echo elgg_view('likes/forms/display', array('entity' => $object)); + } + if ($vars['item']->type != 'user' && $numoflikes != 0) { + echo "
"; // close river_comments_tabs + } + + if ($vars['item']->type != 'user') { + echo "
"; + } if($numoflikes != 0){ //show the users who liked the object echo ""; + if ($vars['item']->type != 'user') { + echo "
"; + } } echo "
"; // close river_item_contents ?> -- cgit v1.2.3