fix photo item for search_item.tpl and a minor css fix

This commit is contained in:
Mario Vavti 2015-10-30 18:46:16 +01:00
parent d0b0d0ec72
commit f8b767ed32
3 changed files with 3 additions and 3 deletions

View file

@ -681,7 +681,6 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
$body = prepare_body($item,true);
$is_photo = ((($item['resource_type'] == 'photo') && (feature_enabled($profile_owner,'large_photos'))) ? true : false);
$has_tags = (($body['tags'] || $body['categories'] || $body['mentions'] || $body['attachments'] || $body['folders']) ? true : false);
$tmp_item = array(
@ -698,6 +697,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
'thumb' => $profile_avatar,
'title' => $item['title'],
'body' => $body['html'],
'photo' => $body['photo'],
'tags' => $body['tags'],
'categories' => $body['categories'],
'mentions' => $body['mentions'],
@ -738,7 +738,6 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
'previewing' => $previewing,
'wait' => t('Please wait'),
'thread_level' => 1,
'is_photo' => $is_photo,
'has_tags' => $has_tags,
);

View file

@ -137,4 +137,4 @@ class photo_gd extends photo_driver {
return $string;
}
}
}

View file

@ -757,6 +757,7 @@ a.rateme, div.rateme {
.wall-item-conv {
padding: 7px 10px;
background-color: $comment_item_colour;
}