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/Autocomplete/AutocompletePlugin.php | 11 +++++++++++ plugins/Autocomplete/README | 8 ++++++++ plugins/Autocomplete/readme.txt | 8 -------- 3 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 plugins/Autocomplete/README delete mode 100644 plugins/Autocomplete/readme.txt (limited to 'plugins/Autocomplete') diff --git a/plugins/Autocomplete/AutocompletePlugin.php b/plugins/Autocomplete/AutocompletePlugin.php index baaec73c1..d586631a4 100644 --- a/plugins/Autocomplete/AutocompletePlugin.php +++ b/plugins/Autocomplete/AutocompletePlugin.php @@ -61,5 +61,16 @@ class AutocompletePlugin extends Plugin } } + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'Autocomplete', + 'version' => STATUSNET_VERSION, + 'author' => 'Craig Andrews', + 'homepage' => 'http://status.net/wiki/Plugin:Autocomplete', + 'rawdescription' => + _m('The autocomplete plugin allows users to autocomplete screen names in @ replies. When an "@" is typed into the notice text area, an autocomplete box is displayed populated with the user\'s friend\' screen names.')); + return true; + } + } ?> diff --git a/plugins/Autocomplete/README b/plugins/Autocomplete/README new file mode 100644 index 000000000..1db4c6565 --- /dev/null +++ b/plugins/Autocomplete/README @@ -0,0 +1,8 @@ +Autocomplete allows users to autocomplete screen names in @ replies. When an "@" is typed into the notice text area, an autocomplete box is displayed populated with the user's friends' screen names. + +Note: This plugin doesn't work if the site is in Private mode, i.e. when $config['site']['private'] is set to true. + +Installation +============ +Add "addPlugin('Autocomplete');" to the bottom of your config.php +That's it! diff --git a/plugins/Autocomplete/readme.txt b/plugins/Autocomplete/readme.txt deleted file mode 100644 index 1db4c6565..000000000 --- a/plugins/Autocomplete/readme.txt +++ /dev/null @@ -1,8 +0,0 @@ -Autocomplete allows users to autocomplete screen names in @ replies. When an "@" is typed into the notice text area, an autocomplete box is displayed populated with the user's friends' screen names. - -Note: This plugin doesn't work if the site is in Private mode, i.e. when $config['site']['private'] is set to true. - -Installation -============ -Add "addPlugin('Autocomplete');" to the bottom of your config.php -That's it! -- cgit v1.2.3-54-g00ecf