]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Updated plugin info for PoweredByStatusNet
authorSarven Capadisli <csarven@status.net>
Fri, 8 Jan 2010 11:42:03 +0000 (11:42 +0000)
committerSarven Capadisli <csarven@status.net>
Fri, 8 Jan 2010 11:42:03 +0000 (11:42 +0000)
plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php

index 460550518c5be4bca34873bd6b31a5430fa8dd4a..bae6c529d3d62b6e9472c964defd3adc40741f8b 100644 (file)
@@ -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;
+    }
 }