mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:50:11 +00:00
quattro: icons for attachments
This commit is contained in:
parent
7140e56d1f
commit
fe3e8ee854
29 changed files with 69 additions and 3 deletions
|
@ -799,10 +799,10 @@ function prepare_body($item,$attach = false) {
|
|||
case 'audio':
|
||||
case 'image':
|
||||
case 'text':
|
||||
$icon = '<div class="attachtype type-' . $icontype . '"></div>';
|
||||
$icon = '<div class="attachtype icon s22 type-' . $icontype . '"></div>';
|
||||
break;
|
||||
default:
|
||||
$icon = '<div class="attachtype type-unkn"></div>';
|
||||
$icon = '<div class="attachtype icon s22 type-unkn"></div>';
|
||||
break;
|
||||
}
|
||||
$title = ((strlen(trim($matches[4]))) ? escape_tags(trim($matches[4])) : escape_tags($matches[1]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue