host = $host; //$host->add_hook($host::HOOK_PREFS_TAB, $this); } function get_js() { return file_get_contents(__DIR__ . "/init.js"); } function get_css() { return file_get_contents(__DIR__ . "/init.css"); } function api_version() { return 2; } function hook_prefs_tab($args) { if ($args != "prefPrefs") return; print "
photo ".$this->__('Test-Test')."\">"; print "
"; } }