mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 01:15:13 +00:00
fix photo item for search_item.tpl and a minor css fix
This commit is contained in:
parent
d0b0d0ec72
commit
f8b767ed32
3 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
);
|
||||
|
||||
|
|
|
@ -757,6 +757,7 @@ a.rateme, div.rateme {
|
|||
|
||||
.wall-item-conv {
|
||||
padding: 7px 10px;
|
||||
background-color: $comment_item_colour;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue