forked from GNUsocial/gnu-social
Updated plugin info for PoweredByStatusNet
This commit is contained in:
parent
8d1ee38087
commit
ce761c7142
@ -31,6 +31,16 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs 'powered by StatusNet' after site name
|
||||
*
|
||||
* @category Plugin
|
||||
* @package StatusNet
|
||||
* @author Sarven Capadisli <csarven@status.net>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
class PoweredByStatusNetPlugin extends Plugin
|
||||
{
|
||||
function onEndAddressData($action)
|
||||
@ -42,4 +52,15 @@ class PoweredByStatusNetPlugin extends Plugin
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function onPluginVersion(&$versions)
|
||||
{
|
||||
$versions[] = array('name' => 'PoweredByStatusNet',
|
||||
'version' => STATUSNET_VERSION,
|
||||
'author' => 'Sarven Capdaisli',
|
||||
'homepage' => 'http://status.net/wiki/Plugin:PoweredByStatusNet',
|
||||
'rawdescription' =>
|
||||
_m('Outputs powered by <a href="http://status.net/">StatusNet</a> after site name.'));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user