init.php 332 B

12345678910111213141516171819202122
  1. <?php
  2. class HL_Legacy extends Plugin {
  3. private $host;
  4. function about() {
  5. return array(1.0,
  6. "Revert back to legacy headline click behavior",
  7. "fox");
  8. }
  9. function init($host) {
  10. $this->host = $host;
  11. }
  12. function get_js() {
  13. return file_get_contents(__DIR__ . "/init.js");
  14. }
  15. function api_version() {
  16. return 2;
  17. }
  18. }