css("photoannotation.css"); if ($theme->page_subtype == "photo") { $v .= $theme->script("jquery.annotate.min.js"); $noborder = module::get_var("photoannotation", "noborder", false); $noclickablehover = module::get_var("photoannotation", "noclickablehover", false); $nohover = module::get_var("photoannotation", "nohover", false); $bordercolor = "#". module::get_var("photoannotation", "bordercolor", "000000"); $v .= "\n"; return $v; } } static function resize_bottom($theme) { if ($theme->page_subtype == "photo") { return new View("photoannotation_highlight_block.html"); } } static function admin_head($theme) { if (strpos($theme->content->kohana_filename, "admin_photoannotation.html.php")) { return $theme->css("colorpicker.css") . $theme->script("jquery.colorpicker.min.js"); } } }