diff options
author | Andrew Dolgov <[email protected]> | 2021-05-07 16:01:41 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-05-07 16:01:41 +0300 |
commit | 04e54b161d97447f7c13b4ede80b65c93b05cc8a (patch) | |
tree | 8837b4da974faba5b37e019aa27f089b665f0393 /init.php |
initial
Diffstat (limited to 'init.php')
-rw-r--r-- | init.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/init.php b/init.php new file mode 100644 index 0000000..092334e --- /dev/null +++ b/init.php @@ -0,0 +1,23 @@ +<?php +class Af_Img_PlaceHolders extends Plugin { + private $host; + + function about() { + return array(null, + "Add loading placeholders for images (for slow connections)", + "fox"); + } + + function init($host) { + $this->host = $host; + } + + function get_js() { + return file_get_contents(__DIR__ . "/init.js"); + } + + function api_version() { + return 2; + } + +} |