summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-07 17:51:57 -0800
committerEvan Prodromou <evan@status.net>2010-01-07 17:51:57 -0800
commit87c181b4e373f0c23bf22bc06af9442776b9b021 (patch)
tree2b7789e9290b0b702542cbdff36a303f8bccc5ed /plugins
parentca3b2d614a0f7340ee5e83687be1951020c5aafa (diff)
add version information to GoogleAnalytics
Diffstat (limited to 'plugins')
-rw-r--r--plugins/GoogleAnalyticsPlugin.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/GoogleAnalyticsPlugin.php b/plugins/GoogleAnalyticsPlugin.php
index 6891ee6a7..c646bf113 100644
--- a/plugins/GoogleAnalyticsPlugin.php
+++ b/plugins/GoogleAnalyticsPlugin.php
@@ -70,4 +70,16 @@ class GoogleAnalyticsPlugin extends Plugin
$action->inlineScript($js1);
$action->inlineScript($js2);
}
+
+ function onPluginVersion(&$versions)
+ {
+ $versions[] = array('name' => 'GoogleAnalytics',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Evan Prodromou',
+ 'homepage' => 'http://status.net/wiki/Plugin:GoogleAnalytics',
+ 'rawdescription' =>
+ _m('Use <a href="http://www.google.com/analytics/">Google Analytics</a>'.
+ ' to track Web access.'));
+ return true;
+ }
}