Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/VisitorInterest/VisitorInterest.php')
-rw-r--r--plugins/VisitorInterest/VisitorInterest.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php
index 2379972407..ee4fdbd3f2 100644
--- a/plugins/VisitorInterest/VisitorInterest.php
+++ b/plugins/VisitorInterest/VisitorInterest.php
@@ -19,11 +19,10 @@ class Piwik_VisitorInterest extends Piwik_Plugin
public function getInformation()
{
$info = array(
- 'name' => 'Visitors Interest',
- 'description' => 'Reports about the Visitor Interest: number of pages viewed, time spent on the Website.',
+ 'description' => Piwik_Translate('VisitorInterest_PluginDescription'),
'author' => 'Piwik',
- 'homepage' => 'http://piwik.org/',
- 'version' => '0.1',
+ 'author_homepage' => 'http://piwik.org/',
+ 'version' => Piwik_Version::VERSION,
);
return $info;
@@ -74,7 +73,7 @@ class Piwik_VisitorInterest extends Piwik_Plugin
function addMenu()
{
Piwik_RenameMenuEntry('General_Visitors', 'VisitFrequency_SubmenuFrequency',
- 'General_Visitors', 'VisitorInterest_SubmenuFrequencyLoyalty' );
+ 'General_Visitors', 'VisitorInterest_Engagement' );
}
function postLoad()
@@ -159,13 +158,13 @@ class Piwik_VisitorInterest extends Piwik_Plugin
return $table;
}
- public function headerVisitsFrequency($notification)
+ static public function headerVisitsFrequency($notification)
{
$out =& $notification->getNotificationObject();
$out = '<div id="leftcolumn">';
}
- public function footerVisitsFrequency($notification)
+ static public function footerVisitsFrequency($notification)
{
$out =& $notification->getNotificationObject();
$out = '</div>