mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
social tag - add UI
This commit is contained in:
parent
f48fd5aa16
commit
3b6b0eaa8b
9 changed files with 37 additions and 8 deletions
|
@ -751,7 +751,9 @@ function prepare_body($item,$attach = false) {
|
|||
|
||||
$s = prepare_text($item['body']);
|
||||
|
||||
call_hooks('prepare_body', $s);
|
||||
$prep_arr = array('item' => $item, 'html' => $s);
|
||||
call_hooks('prepare_body', $prep_arr);
|
||||
$s = $prep_arr['html'];
|
||||
|
||||
if(! $attach)
|
||||
return $s;
|
||||
|
@ -784,8 +786,10 @@ function prepare_body($item,$attach = false) {
|
|||
}
|
||||
$s .= '<div class="clear"></div></div>';
|
||||
}
|
||||
call_hooks('prepare_body_final', $s);
|
||||
return $s;
|
||||
|
||||
$prep_arr = array('item' => $item, 'html' => $s);
|
||||
call_hooks('prepare_body_final', $prep_arr);
|
||||
return $prep_arr['html'];
|
||||
}}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue