diff options
author | Brenda Wallace <shiny@cpan.org> | 2010-01-10 14:06:15 +1300 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2010-01-10 14:06:15 +1300 |
commit | 26b03240271d061177a258dbae46bc384dbc9d6a (patch) | |
tree | cedb5e37ed018c3482be18fb2428c9161b8f41a7 /plugins/InfiniteScroll | |
parent | 42896ac1fbe1b952bb7949c069b2c8c5647c1185 (diff) | |
parent | 40847ea1b5a527af9de88eb02e38922e5704999b (diff) |
Merge commit 'mainline/0.9.x' into 0.9.x
Diffstat (limited to 'plugins/InfiniteScroll')
-rw-r--r-- | plugins/InfiniteScroll/InfiniteScrollPlugin.php | 11 | ||||
-rw-r--r-- | plugins/InfiniteScroll/README (renamed from plugins/InfiniteScroll/readme.txt) | 0 |
2 files changed, 11 insertions, 0 deletions
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.txt b/plugins/InfiniteScroll/README index 2428cc69a..2428cc69a 100644 --- a/plugins/InfiniteScroll/readme.txt +++ b/plugins/InfiniteScroll/README |