Merge pull request #36 from fabrixxm/master

Missing icons in 'quattro' and ajax events calendar
This commit is contained in:
fabrixxm 2012-02-15 03:51:44 -08:00
commit 16f00cb73b
44 changed files with 7031 additions and 49 deletions

View file

@ -849,10 +849,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]));