mirror of
https://github.com/friendica/friendica
synced 2025-04-26 00:30:12 +00:00
allow custom avatar sizes - needed for Diaspora hcard/vcard
This commit is contained in:
parent
ad1e827169
commit
d45a66e700
4 changed files with 43 additions and 3 deletions
|
@ -732,6 +732,9 @@ function link_compare($a,$b) {
|
|||
return false;
|
||||
}}
|
||||
|
||||
// Given an item array, convert the body element from bbcode to html and add smilie icons.
|
||||
// If attach is true, also add icons for item attachments
|
||||
|
||||
|
||||
if(! function_exists('prepare_body')) {
|
||||
function prepare_body($item,$attach = false) {
|
||||
|
@ -771,6 +774,9 @@ function prepare_body($item,$attach = false) {
|
|||
return $s;
|
||||
}}
|
||||
|
||||
|
||||
// Given a text string, convert from bbcode to html and add smilie icons.
|
||||
|
||||
if(! function_exists('prepare_text')) {
|
||||
function prepare_text($text) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue