Rating "; return $html; } public function display_bulk_rater($terms) { global $page; $html = " ".make_form(make_link("admin/bulk_rate"))." "; $page->add_block(new Block("List Controls", $html, "left")); } public function rating_to_name(/*string*/ $rating) { switch($rating) { case 's': return "Safe"; case 'q': return "Questionable"; case 'e': return "Explicit"; default: return "Unknown"; } } }