announcement_type)) { echo elgg_view_icon($entity->announcement_type, array( 'class' => 'site-announcements-icon', 'title' => elgg_echo("site_announcements:type:{$entity->announcement_type}") )); } else { echo elgg_view('output/img', array( 'src' => '_graphics/spacer.gif', 'alt' => elgg_echo('site_announcements:type:general') )); }