25 lines
497 B
PHP
25 lines
497 B
PHP
<?php
|
|
class Hotkeys_Force_Top extends Plugin {
|
|
private $host;
|
|
|
|
function about() {
|
|
return array(null,
|
|
"Force open article to the top",
|
|
"itsamenathan");
|
|
}
|
|
|
|
function init($host) {
|
|
$this->host = $host;
|
|
|
|
}
|
|
|
|
function get_js() {
|
|
return file_get_contents(__DIR__ . "/init.js");
|
|
}
|
|
|
|
function api_version() {
|
|
return 2;
|
|
}
|
|
|
|
}
|