t("Metadata")); } static function get($block_id, $theme) { $block = ""; switch ($block_id) { case "metadata": if ($theme->item()) { $block = new Block(); $block->css_id = "g-metadata"; $block->title = $theme->item()->is_album() ? t("Album info") : t("Photo info"); $block->content = new View("info_block.html"); } break; } return $block; } }