switch ($this->link->type): case Infantry_Type_Download::DEMO: $type = 'Demo'; break; case Infantry_Type_Download::VIDEO: $type = 'Video'; break; case Infantry_Type_Download::AUDIO: $type = 'Audio'; break; case Infantry_Type_Download::OTHERS: $type = 'Ostatní'; break; default: $type = 'Neznámý'; endswitch; ?>