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 ++++++++++++++-------- views/default/css_ie.php | 25 +++++++++++++++++++-- 2 files changed, 40 insertions(+), 11 deletions(-) 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 ?> diff --git a/views/default/css_ie.php b/views/default/css_ie.php index 1ec19b69f..ed6cb1945 100644 --- a/views/default/css_ie.php +++ b/views/default/css_ie.php @@ -4,13 +4,15 @@ */ * {zoom: 1;} /* trigger hasLayout in IE */ -/* main nav drop-down */ +/* tools drop-down menu */ #elgg_header {z-index:1;} .navigation li a:hover ul {display:block; position:absolute; top:21px; left:0;} .navigation li a:hover ul li a {display:block;} .navigation li.navigation_more ul li a {width:150px;background-color: #dedede;} - +.clearfloat { + display: block; +} #elgg_topbar_contents a.privatemessages_new span { display:block; padding:1px; @@ -23,3 +25,22 @@ #elgg_topbar_contents a.privatemessages_new { padding:0 0 0 20px; } + +/* riverdashboard rules - placed here temporarily */ +#riverdashboard_updates { + clear:both; +} +#riverdashboard_updates a.update_link { + margin:0 0 9px 0; +} +.riverdashboard_filtermenu { + margin:10px 0 0 0; +} +.river_comment_form.hidden .input_text { + width:530px; + float:left; +} +.river_link_divider { + width:10px; + text-align: center; +} \ No newline at end of file -- cgit v1.2.3