quattro: icons for attachments

This commit is contained in:
Fabio Comuni 2012-02-15 11:10:02 +01:00
parent 7140e56d1f
commit fe3e8ee854
29 changed files with 69 additions and 3 deletions

View file

@ -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]));