summaryrefslogtreecommitdiff
path: root/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-08 11:42:03 +0000
committerSarven Capadisli <csarven@status.net>2010-01-08 11:42:03 +0000
commitce761c714284ddf8db4556757fc62e1051f701f7 (patch)
tree58cb52beb6cfe8654f99c815e37a78f61da7c763 /plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
parent8d1ee38087aeb44f13297bf1dfdbab8d133339ad (diff)
Updated plugin info for PoweredByStatusNet
Diffstat (limited to 'plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php')
-rw-r--r--plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php b/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
index 460550518..bae6c529d 100644
--- a/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
+++ b/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
@@ -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;
+ }
}