From c758b1b1d40d5534e0fc63818bc7d9cf8350de96 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Sat, 9 Jan 2010 18:58:40 -0500 Subject: Add version information to a bunch of plugins --- plugins/InfiniteScroll/InfiniteScrollPlugin.php | 11 +++++++++++ plugins/InfiniteScroll/README | 6 ++++++ plugins/InfiniteScroll/readme.txt | 6 ------ 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 plugins/InfiniteScroll/README delete mode 100644 plugins/InfiniteScroll/readme.txt (limited to 'plugins/InfiniteScroll') diff --git a/plugins/InfiniteScroll/InfiniteScrollPlugin.php b/plugins/InfiniteScroll/InfiniteScrollPlugin.php index 5928c007f..a4d1a5d05 100644 --- a/plugins/InfiniteScroll/InfiniteScrollPlugin.php +++ b/plugins/InfiniteScroll/InfiniteScrollPlugin.php @@ -43,4 +43,15 @@ class InfiniteScrollPlugin extends Plugin $action->script('plugins/InfiniteScroll/jquery.infinitescroll.js'); $action->script('plugins/InfiniteScroll/infinitescroll.js'); } + + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'InfiniteScroll', + 'version' => STATUSNET_VERSION, + 'author' => 'Craig Andrews', + 'homepage' => 'http://status.net/wiki/Plugin:InfiniteScroll', + 'rawdescription' => + _m('Infinite Scroll adds the following functionality to your StatusNet installation: When a user scrolls towards the bottom of the page, the next page of notices is automatically retrieved and appended. This means they never need to click "Next Page", which dramatically increases stickiness.')); + return true; + } } diff --git a/plugins/InfiniteScroll/README b/plugins/InfiniteScroll/README new file mode 100644 index 000000000..2428cc69a --- /dev/null +++ b/plugins/InfiniteScroll/README @@ -0,0 +1,6 @@ +Infinite Scroll adds the following functionality to your StatusNet installation: When a user scrolls towards the bottom of the page, the next page of notices is automatically retrieved and appended. This means they never need to click "Next Page", which dramatically increases stickiness. + +Installation +============ +Add "addPlugin('InfiniteScroll');" to the bottom of your config.php +That's it! diff --git a/plugins/InfiniteScroll/readme.txt b/plugins/InfiniteScroll/readme.txt deleted file mode 100644 index 2428cc69a..000000000 --- a/plugins/InfiniteScroll/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Infinite Scroll adds the following functionality to your StatusNet installation: When a user scrolls towards the bottom of the page, the next page of notices is automatically retrieved and appended. This means they never need to click "Next Page", which dramatically increases stickiness. - -Installation -============ -Add "addPlugin('InfiniteScroll');" to the bottom of your config.php -That's it! -- cgit v1.2.3-54-g00ecf