t("Star Item")); } static function get($block_id, $theme) { $item = $theme->item; switch ($block_id) { case "star": // If Item is movie then... //if ($item && $item->is_movie() && access::can("view_full", $item)) { $block = new Block(); $block->css_id = "g-star-options"; $block->title = t("Star"); $block->content = new View("star_block.html"); return $block; //} // If Item is photo then... //if ($item && $item->is_photo() && access::can("view_full", $item)) { // $block = new Block(); // $block->css_id = "g-download-fullsize"; // $block->title = t("Download Photo"); // $block->content = new View("downloadfullsize_block.html"); // return $block; //} } return ""; } }